how will I find the first 5 highest salaried employees in
each dept in oracle.
Answer Posted / mangesh
SELECT * FROM (SELECT * FROM EMP ORDER BY SALARY desc) WHERE ROWNUM < 6;
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
How to view the data files in the current database?
Is java required for oracle client?
What are the advantages of oracle 12c?
Explain coalesce function?
What are a collation and state the different types of collation sensitivity?
What is an oracle tablespace?
Can a formula column referred to columns in higher group ?
What do you understand by database schema and what does it hold?
How do I reset a sequence in oracle?
State the difference along with examples between Oracle 9i, Oracle 10g and Oracle 11i.
How to define an explicit cursor in oracle?
How to work with data objects interactively?
How to use fetch statement in a loop?
How does the on-delete-cascade statement work?
What is the usage of synonyms?