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
Whether any commands are used for months calculation? If so, what are they?
Why do you create or replace procedures rather that drop and recreate.
What is a read only transaction in oracle?
What is Trigger in Oracle?
How to assign query results to variables?
What is bind variable in oracle 11g?
Why do I get java.lang.abstractmethoderror when trying to load a blob in the db?
How will you write a query to get a 5th rank student from a table student_report?
What the is the diff between local index and global index. give some example.
What is the quickest way to export a table to a flat file?
What is ADDM Advisor in Oracle?
Can a formula column be obtained through a select statement ?
What is MTTR advisor in Oracle?
What are internal user account in oracle?
How to connect the oracle server as sysdba?