how will I find the first 5 highest salaried employees in
each dept in oracle.
Answer Posted / manoj
SELECT employee_id, employee_name, salary FROM employees
where rownum < 6 ORDER BY
salary DESC
group by department_id;
| Is This Answer Correct ? | 4 Yes | 29 No |
Post New Answer View All Answers
Can objects of the same schema reside in different tablespace?
How can I get column names from a table in oracle?
Point out the difference between user tables and data dictionary?
definition of cluster and non-clustered index?
Please explain joins in oracle?
material view and view disadvantages?
Describe an oracle table?
Explain compound trigger in oracle?
What is oracle database client?
What happens to the data files if a tablespace is dropped?
What is a cursor in oracle?
Explain the use of ignore option in imp command.
What is the database name in oracle?
why dont we assign not null constraint as table level constraint.
What is columnar storage what is the advantage?