Find out the 3rd highest salary?

Answer Posted / karna

Hi Friends,

to get the nth highest value of a column in a table,please
use the below simple query

select min(column) from table where column in(select top n
column from table)

any queries,mail me at karun84@gmail.com

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I trace sql profiler?

491


how to implement one-to-one, one-to-many and many-to-many relationships while designing tables? : Sql dba

543


What is the difference between local and global temporary table?

548


What is hibernate and its relation to sql?

591


What is the best free sql database?

563






What are different types of keys?

521


What is pivot table in sql?

522


Why do we use cursors?

509


How to find 3rd highest salary of an employee from the employee table in sql?

565


How do you truncate?

503


How many types of sql are there?

523


Explain mutating table error.

645


How to start oracle sql developer?

558


What is the use of & in pl sql?

532


What are the different sql commands?

513