Answer Posted / rashmiraj
SELECT COL1,COL2,ROWNUM
FROM (SELECT COL1,COL2 FROM TABLE ORDER BY COL1 DESC)
WHERE ROWNUM<=&A;
as for example........
select ename,job,sal,rownum
from (select ename,job,sal from emp order by sal desc)
where rownum <=3;
| Is This Answer Correct ? | 13 Yes | 3 No |
Post New Answer View All Answers
Define erp (enterprise resource planning) ?
What responsibility do I need to use to setup organization?
What is multi org architecture?
Explain the uses of mrc?
Explain the mechanisms to trace the document manager?
What are cycles of ar?
Explain the types of flexfields?
There is currently a list of predefined auto cash rules, however I am wanting to know if you can customise and create a cash rule to specifically target an aging bucket i.e. 30 days
Which are the kinds of report triggers?
When my organization hierarchy changes, can I move an organization from one set of books or legal entity to another?
What is the significance of profile option “responsibility trust level”.
Explain Rule based optimization in oracle apps?
What are Quick pick and quick codes
What are the types of journal entries?
Define set – of books?