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 embedded sql what are its advantages?
What is the default isolation level in sql server? : Transact sql
Are stored procedures faster than queries?
Explain dml and ddl?
What do you mean by “trigger” in sql?
What is index example?
What is cost in sql execution plan?
How many sql databases can you have on one server?
What is the importance of sqlcode and sqlerrm?
Is record in pl sql?
Is pl sql useful?
What is a sql trace file?
How does sql profiler work?
how many values can the set function of mysql take? : Sql dba
What are the advantages of stored procedure?