Skip to content
Advertisement

Find out the nth-highest salary from table

How would I find the nth-highest salary from the aforementioned table using Oracle?

Advertisement

Answer

you can use something like this.. this is what i have tested and then pasted here

in place of ‘tblname’ give your table name and then in place nth give your desired nth highest salary that you want

enter image description here

you can see in the screen shot that it is working.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement