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
What are the built-in functions used for sending Parameters to forms ?
State the various uses of dbcc command?
how to code performance tuning of oracle PL/SQL? can any body send me the perfect answer?
Please explain compound trigger in oracle?
How to delete a user account in oracle?
What is define in oracle?
How to define an explicit cursor in oracle?
WHAT IS THE DEFINITION OF DEFAULT CUSTOMER IN AR?
What is the difference between a primary key & a unique key?
How to export data to a csv file?
Explain the types of exception?
Explain the use of grant option in exp command.
Why do we need oracle client?
What is the difference between alert log file and tarce file ?
How can we find out the duplicate values in an oracle table?