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

Answer Posted / nagendra

select min(sal) from emp where sal in( select top 3 sal
from emp order by sal desc)

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the constraints available in sql?

596


How do you remove duplicates without using distinct in sql?

518


How to use sql statements in pl/sql?

598


What is the difference between the conventional and direct path loads? : aql loader

707


Why we use joins in sql?

557






What is t sql in sql server?

582


How to change the order of columns in Oracle SQL Plus ?

628


Can we use the cursor's to create the collection in PL/SQL?

526


What is orm in sql?

551


what are the advantages of mysql in comparison to oracle? : Sql dba

537


What does (+) mean in sql joins?

541


Explain mutating table error.

665


What is a design view?

537


How do you know if a relationship is 2nf?

533


What are the usages of sql?

581