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

Answer Posted / kumar sumit

select max(sal) from emp where sal not in(select max(sal)
from emp where sal not in(select max(sal) from emp))

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a mutating table and a constraining table?

665


What do you mean by stored procedures? How do we use it?

620


Write the command to remove all players named sachin from the players table.

820


how to rename an existing table in mysql? : Sql dba

655


Explain what is sql*plus?

756






What are the query optimization techniques?

621


What are the two parts of design view?

683


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

806


What is cursor in pl sql?

676


Can a foreign key be a duplicate?

596


how to fetch common records from two tables? : Sql dba

737


what are tables and fields? : Sql dba

661


Why do we need cursors in pl sql?

622


How much does sqlite cost?

634


How does join work in sql?

654