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

what is the stuff function and how does it differ from the replace function? : Sql dba

628


What is flag in sql?

549


What is the best partition size for windows 10?

490


how to load data files into tables with 'mysqlimport'? : Sql dba

530


what is a record in a database ? : Sql dba

570






How do I write a cron which will run a sql query and mail the results to agroup?

531


Write the order of precedence for validation of a column in a table? I. Done using database triggers. Ii. Done using integarity constraints

649


what is the difference between clustered and non clustered index in sql? : Sql dba

556


what are the authentication modes in sql server? : Sql dba

539


How long does it take to learn pl sql?

612


Does postgresql run on the cloud?

595


What are local and global variables and their differences?

594


How do you modify a column in sql?

541


What is sqlite format?

634


What is sqlca in db2?

537