Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to fetch Top 5th record

848959Nov 12 2011 — edited Nov 13 2011
Hi,

I have a requirement to fetch the Employee who gets the 5th highest salary.

I don't want to use Analytical query here.

I remember writing a query using 'select * from emp where 5 > (select ... )'
Now, I have forgotten the logic, please help, thank you.
This post has been answered by Anirudha Dhopate on Nov 13 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 11 2011
Added on Nov 12 2011
7 comments
2,688 views