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
Explain what are clusters?
How to convert times to characters in oracle?
Why packages are used in oracle?
What is memory advisor in Oracle?
What is the difference between the Oracle ODBC driver and a Microsoft ODBC (Open Database Connectivity) Driver?
20. Using a set operator, display the client number of all clients who have never placed an order.
What is flashback in Oracle?
What are the roles of dba?
What is a named program unit?
What is a subquery in oracle?
How to build data dictionary view an new database?
How to convert a date to char in oracle? Give one example.
What the is the diff between local index and global index. give some example.
What is oracle update statement with inner join ?
Explain a private synonyms?