find out the third highest salary?
Answer Posted / sapna rawal
SELECT TOP 1 salary
FROM (
SELECT DISTINCT TOP n salary
FROM employee
ORDER BY salary DESC)
ORDER BY salary ;
n=3.In this case.
| Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
How to use subqueries with the exists operator in oracle?
What are joins, explain all types of joins?
how to handle exceptions in post production
What is the database name in oracle?
How to use subqueries in the from clause in oracle?
How to define an anonymous procedure with variables?
How to define an anonymous block?
is there a tool to trace queries, like profiler for sql server?
hey friends, What are the steps I can do to transfer the database from Microsoft Access 2003 to oracle10g (or SQL) Best regards
What is sharded cluster?
Is it possible to set second Primary Key Constraint in a table in Oracle Database ?
Explain what are the different type of segments?
What happens if the update subquery returns multiple rows?
What are the uses of linked server and explain it in detail?
What is different types of joins?