How can u find column name from a table which have max value
in a row.( not max value)
Answer Posted / prashanth
user greatedt function.
Ex select greatest(sal,bonus) from emp where emp_id = 1000;
| Is This Answer Correct ? | 2 Yes | 6 No |
Post New Answer View All Answers
What are the types of functions in sql?
What is primary key and unique key?
Mention what does plvtab enables you to do when you showthe contents of pl/sql tables?
How can you get sql*loader to commit only at the end of the load file? : aql loader
What are the two characteristics of a primary key?
name 3 ways to get an accurate count of the number of records in a table? : Sql dba
What is the difference between stored procedure and view?
What is pivot in sql?
can a stored procedure call itself or recursive stored procedure? How much level sp nesting is possible? : Sql dba
What is cursor explain with example?
Can a table have no primary key?
what is the difference between $message and $$message? : Sql dba
how many sql ddl commands are supported by 'mysql'? : Sql dba
Is sql a oracle?
explain the advantages and disadvantages of stored procedure? : Sql dba