Find out the 3rd highest salary?
Answer Posted / 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 |
Post New Answer View All Answers
What do you mean by “trigger” in sql?
Explain the difference between sql and mysql.
What is the difference between function and procedure in pl/sql?
what are different types of keys in sql?
What does rownum mean in sql?
What does desc stand for?
Do we need commit after truncate?
what does myisamchk do? : Sql dba
What is the purpose of a secondary key?
What is an ndf file?
What is the difference between joins?
what are the different functions in sorting an array? : Sql dba
What is procedure function?
What are the various levels of constraints?
Is join and inner join the same?