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
How do I edit a stored procedure?
How does cross join work in sql?
What are the operators used in select statements?
Enlist some predefined exceptions?
what is the maximum length of a table name, database name, and fieldname in mysql? : Sql dba
What is pivot in sql?
What is the difference between microsoft access and sql server?
How do I debug a stored procedure?
Is pl sql useful?
What is the usage of the distinct keyword?
What are the different types of triggers?
What is acid property in a database?
What is cursor explain with example?
What is pragma in pl sql?
What are the parameter modes supported by pl/sql?