How to retrieve 5th highest sal from emp table?

Answer Posted / arvind patil

select rownum,name,salary
from (select name,salary
from employee
order by salary desc )
where rownum=5;

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to convert csv to table in oracle?

528


Which is better Oracle or MS SQL? Why?

5448


What are the components of logical database structure in oracle database?

585


Is it possible to split the print reviewer into more than one region ?

1840


How to get execution statistics reports on query statements?

572






How to pass a parameter to a cursor in oracle?

599


How do you increase the OS limitation for open files (LINUX and/or Solaris)?

1472


How to check database size in Oracle?

644


Difference between inner join vs where ?

614


How to define default values for formal parameters?

598


What is a view and how is it different from a table?

574


How to start your 10g xe server?

599


What is a cursor and what are the steps need to be taken?

603


definition of cluster and non-clustered index?

2482


How to bring a tablespace offline?

544