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
Does oracle support running of gather stats on sys schema in oracle apps?
Differentiate apps schema from other schemas?
What are the steps in attaching reports with oracle applications?
How to enable tracing for document managers
Define set – of books?
What is a token?
Define descriptive flexfield ?
What is the lock option in reports layout?
What is mrc?
What are Quick pick and quick codes
Define multi org ?
Define mrc ( multiple reporting currency)?
Define record group?
Where to define the parameters in the report?
We are using flow manufacturing in oracle to manufacte ATO products. The items reserve to the sales order at the time of Work Order-less Completion. After they are reserved, they cannot be transferred from location to location within the FG warehouse as they are reserved and not available for subiventory transfer. Any ideas on how we can move products around the warehouse without destroying the reservation?