how will I find the first 5 highest salaried employees in
each dept in oracle.
Answers were Sorted based on User's Feedback
Answer / lakshya
SELECT salary FROM employee where rownum < 6 ORDER BY
salary DESC
group by dept;
| Is This Answer Correct ? | 11 Yes | 39 No |
What is an Oracle Instance?
Why do you create or replace procedures rather that drop and recreate.
How to filter out duplications in the returning rows using oracle?
How can I create database in oracle?
Why does Oracle not permit the use of PCTUSED with indexes?
How to use select statement to count the number of rows in oracle?
what is the syntax of DROP command?
What is truncate oracle?
Explain how are indexes update?
Hi can anyone tell me where are the dumps found of OCA certification.. Also the materials to be studied for the preparation.
Explain the use of parfile option in exp command.
How can we view last record added to a table?