Find out the 3rd highest salary?
Answer Posted / manoj
SELECT min(salary)
FROM (
SELECT e.salary , ROWNUM
FROM emp e
ORDER BY salary DESC
AND ROWCOUNT <=3
)
ROWNUM =3;
| Is This Answer Correct ? | 3 Yes | 9 No |
Post New Answer View All Answers
What is the difference between join and natural join?
What is a composite primary key?
what is a database transaction? : Sql dba
If i can use sys.check_constraints to display my constraints from my database using sql server 2005, how can i display then if i am using sql server 2000????
What is raw datatype in sql?
what is oltp (online transaction processing)? : Sql dba
What is an invalid partition table?
Is full outer join same as cross join?
What is materialized view in sql?
What is an example of translating a date into julian format?
Does asenumerable execute the query?
Explain the steps needed to create the scheduled job?
What is hibernate and its relation to sql?
What are the two parts of design view?
What is rank () in sql?