how will I find the first 5 highest salaried employees in
each dept in oracle.
Answer Posted / mangesh
SELECT * FROM (SELECT * FROM EMP ORDER BY SALARY desc) WHERE ROWNUM < 6;
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Difference between inner join vs where ?
How to convert times to characters in oracle?
Explain integrity constraints?
How to list all tables in your schema?
What are the differences between primary key and unique key?
How to build data dictionary view an new database?
List out the difference between commit, rollback, and savepoint?
How to delete an existing row from a table in oracle?
What are the common oracle dba tasks?
How to connect to the server with user account: sys?
Where is the export dump file located?
What is ceil and floor in oracle?
What are a query and state the different types of queries and their uses?
Explain the use of Merge statement in oracle 11g
how may join possible between (requisition with purchase order)