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

Answer Posted / arjun

select min(sal) from (select sal from (select distinct(sal)
from emp order by sal desc) where rownum<4)

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are triggers and its uses?

689


Can we have two clustered index on a table?

662


How do I run a pl sql procedure in sql developer?

597


How do you create a unique index?

663


What does pl sql developer do?

604






How do you bind variables in pl sql?

660


What is a constraint? Tell me about its various levels.

737


Is t sql a programming language?

631


What is mutating sql table?

716


How many commands are there in sql?

653


What is pl sql quora?

736


explain about mysql and its features. : Sql dba

634


What are the two types of exceptions.

720


Is sql a dbms?

629


what tools available for managing mysql server? : Sql dba

639