How to get employee name from employee table which is the
fiveth highest salary of the table
Answer Posted / ashwin
Hi, you can use following query.
select ename,sal from(select ename,sal from emp order by sal
desc)where rownum=5;
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What is sql*loader?
Explain how exception handling is done in advance pl/sql?
How long will it take to learn pl sql?
What are the possible values for the boolean data field?
What are types of joins?
How do I copy a table in sql?
What is not equal in sql?
Does sql between include endpoints?
Under what condition it is possible to have a page level lock and row lock at the same time for a query? : Transact sql
What is online transaction processing (oltp)?
Where is pl sql used?
Do foreign keys improve performance?
How does stored procedure reduce network traffic?
What is break?
When is the update_statistics command used?