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
What is exception? What are the types of exceptions?
What is #table in sql?
How can I delete duplicate rows?
What are pl/sql cursor exceptions?
What is orm in sql?
Write the command to remove all players named sachin from the players table.
What are sql data types?
What are the different sql languages?
What does an inner join do?
How do I quit sql?
What are the different schemas objects that can be created using pl/sql?
What is the purpose of normalization?
How to create a menu in sqlplus or pl/sql?
How can we avoid duplicating records in a query?
discuss about myisam key cache. : Sql dba