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
What is tns service name?
Which dictionary view(s) would you first look at to understand or get a high-level idea of a given Advanced Replication environment?
What is a trigger oracle?
How to use attributes of the implicit cursor in oracle?
what are steps for interface? where is exchange rate defined in which table?
What query tells you how much space a tablespace named test is taking up, and how much space is remaining?
How do I know if oracle is installed on windows?
Can we store images in oracle database?
What is the usage of merge statement?
How to write a query with an inner join in oracle?
How to export data with a field delimiter?
What are the attributes that are found in a cursor?
Which environment variables are absolutely critical in order to run the OUI?
Why should I use oracle database?
How to execute the package in oracle?