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
How to avoid duplicate records in a query?
what are the join types in tsql? : Transact sql
what is cursor and its type, what is ref cursor write a syntax to pass ref cursor into procedure out fucntion and call the procedure
What is normalisation in sql?
What is on delete restrict?
How to return multiple rows from the stored procedure?
What is union and union all keyword in sql and what are their differences?
What does partition by mean in sql?
How to find 3rd highest salary of an employee from the employee table in sql?
What are the advantages of pl sql over sql?
What is out parameter used for eventhough return statement can also be used in pl/sql?
what is a constraint? Tell me about its various levels. : Sql dba
Can we rollback truncate?
What are the basic techniques of indexing?
what is the command used to fetch first 5 characters of the string? : Sql dba