Answer Posted / kishore
select * from (
select sal,rownum as num from (select sal from
emp order by sal desc))
where num <=3;
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
what are myisam tables? : Sql dba
What is coalesce sql?
How to return an array from java to pl/sql?
What is pl/sql table? Why it is used?
Is sql database free?
How many databases can sql express handle?
What is a full join sql?
What do you understand by pl/sql cursors?
What is pivot in sql?
what is the syntax used for partition in tsql? : Transact sql
What is the difference between Union and Union all. Which is faster.
What is delete command in sql?
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
Which type of cursor is used to execute the dml statement?
Give the order of sql select?