Find out the 3rd highest salary?

Answer Posted / surendra kumar dattatrey

Select * from Emp where Salary =
(Select max(Salary) from Emp where Salary <
(Select max(Salary) from Emp where Salary <
(Select max(Salary) from Emp where Salary <.....N))))

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you take the union of two tables in sql?

731


How does one use sql*loader to load images, sound clips and documents? : aql loader

883


What is on delete restrict?

721


What is sqlca in db2?

695


how many tables will create when we create table, what are they? : Sql dba

765






What are procedures used for?

703


Why do we need cursor in pl sql?

832


Explain sql data types?

830


Define union, minus, union all, intersect ?

738


What is 19 null in sql?

703


How to load data with sql*loader?

747


How to revise and re-run the last sql command?

837


what is a database transaction? : Sql dba

824


how to create a new view in mysql? : Sql dba

685


Explain autonomous transaction.

844