Find out the 3rd highest salary?
Answers were Sorted based on User's Feedback
Answer / xxx
select ename, salary from
(Select ename, salary, rownum
FROM emp where rownum<=3
Order by salary )
where rownum = 1
;
Is This Answer Correct ? | 7 Yes | 20 No |
what are null values? : Sql dba
What are sql constraints?
what is 'mysqld'? : Sql dba
Which version of sql do I have?
What do you think about pl/sql?
how u can find the n row from a table?
what is the difference between trigger and constraint?
What is Materialized View? In What Scenario we Use Materialized View?
How many parts of a pl sql block are optional?
What are basic techniques of indexing?
how to check the 3rd max salary from an employee table?
Which is faster union or join?