select three highest values from a table.
Answer / 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 |
What is flexfield? And types of flexfields?
What is patch and types of patches?As functional consultant how much knowledge i should have about patches?
What responsibility do I need to use to setup organization?
List some uses of dff (descriptive flex field) ?
What is the firing sequence related with report triggers?
How can I know if I am using multi org?
Which are the kinds of report triggers?
What is user exits
Explain about application?
Does oracle support running of gather stats on sys schema in oracle apps?
select three highest values from a table.
What is user exits and explain the types?