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 before trigger?
Can I join the same table twice?
What are different types of statements supported by sql?
how can you create an empty table from an existing table? : Sql dba
What is forward declaration in pl sql?
What is a .db file?
What is a variable in sql?
What is the use of primary key?
What is java sql drivermanager?
What is embedded sql with example?
What are the features of pl sql?
What is the purpose of primary key?
what happens if null values are involved in expressions? : Sql dba
What are different methods to trace the pl/sql code?
Is it mandatory for the primary key to be given a value when a new record is inserted?