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 set – of books?
What is data migration?
What is oracle apps (erp)?
What is a token?
Define multi org ?
Can you use concurrent program "gather schema statistics" to gather stats on sys schema in oracle apps?
What is the role of document manager?
Define template?
Differentiate apps schema from other schemas?
What is mrc?
What is flexfield? And types of flexfields?
How to register concurrent program with oracle apps?
Define autonomous transaction?
Is there any documentation on how to setup an organization?
What is the concurrent program?