how will I find the first 5 highest salaried employees in
each dept in oracle.
Answer Posted / lakshya
SELECT salary FROM employee where rownum < 6 ORDER BY
salary DESC
group by dept;
| Is This Answer Correct ? | 11 Yes | 39 No |
Post New Answer View All Answers
What is materialized view in Oracle?
How do I connect to oracle?
What is execute immediate in oracle?
Why does for update in oracle 8 cause an ora-01002 error?
How to get execution path reports on query statements?
Explain temporal data types in oracle
What is a dynamic performance view in oracle?
How would you best determine why your MVIEW couldnt FAST REFRESH?
How to estimate disk space needed for an export job?
Explain the use of rows option in imp command.
What privilege is needed for a user to delete rows from tables in another schema?
What are the differences between lov and list item?
What is oracle server autotrace in oracle?
How to rollback the current transaction in oracle?
What is ordinary table in oracle?