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
How do sql triggers work?
Is sql open source?
What are the constraints available in sql?
What is a ddl command?
Does truncate remove indexes?
The select into statement is most often used to create backup copies of tables or for archiving records?
How do I view a sql trace file?
What is a procedure in pl sql?
What is a .db file?
Why is there a need for sqlcode and sqlerrm variables?
Define implicit and explicit cursors.
Is truncate ddl or dml?
a table has 2 classifications 1)liabilities 2)earnings this liabitity has 2 elements with 2 input values and the earnings have 2 elements with 2 input values i wrote a query so that my input is liability savings amount1 amount2 xxxx null xxxxxx 0 xxx1 null xxxxx1 0 null yyyy 0 yyyy null yyy1 0 yyy1 my problem is --when i developed a report(d2k) with this data my o/p is liabilities,amount1,savings,amount2 xxxx xxxxxx xxx1 xxxxx1 yyyy yyyy yyy1 yyy1 how could i move this savings,savings values 2 palces up. can any body provide me witha better solution
What is a sql*loader control file?
What is the process of copying data from table a to table b?