how to check the 3rd max salary from an employee table?

Answer Posted / danny

SELECT min( sal )
FROM emp
WHERE sal
IN (

SELECT DISTINCT sal
FROM emp
ORDER BY sal DESC
LIMIT 0 , 3
)

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What operators deal with null?

612


What is trigger explain it?

551


Can two tables have same primary key?

532


how do you know if your mysql server is alive? : Sql dba

603


What is offset and limit in sql?

555






What are tables in sql?

550


Does truncate require commit?

547


Is sql injection illegal?

597


What is package in pl sql with an examples?

551


describe mysql connection using mysql binary. : Sql dba

554


Why do we need view in sql?

554


What is serial sql?

530


What is a full join?

530


What is the difference between partition and index?

485


What are the limitations of sql express?

530