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 the types of validation?
Differentiate apps schema from other schemas?
Is there any documentation on how to setup an organization?
What is mrc? Explain its uses
Define about key flexfiled ?
Explain about security attributes?
What is the significance of profile option “responsibility trust level”.
Can you send blob attachments via workflow notifications?
Explain Rule based optimization in oracle apps?
Where are tables created?
How will you open a bc4j package in jdeveloper?
Hi , I'm a Oracle Apps Technical Consultant.Looking for Functional Training on specific modules like INV,OM,PO,AP,AR,GL .Can you please let me know any trainer/institute details for the same.
What is data migration?
Define sql loader ?
I want to setup additional organizations, do I have to setup multiorg?