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 the difference between sql& oracle?
What is the difference between a primary key & a unique key?
Can any one explain me when i execute below query.. select months_between('07-JUL-12','10-FEB-12') from dual; Out put:- 4.90322581 How oracle calculate?
Select the Nth lowest value from a table?
How to assign values to data fields in record variables?
How to define default values for formal parameters?
Explain how you would restore a database using RMAN to Point in Time?
How to drop an index in oracle?
Define 'view' advantage ?
How to use windows user to connect to the server?
Whether any commands are used for months calculation? If so, what are they?
What is data block in Oracle?