how will I find the first 5 highest salaried employees in
each dept in oracle.

Answer Posted / lakshya

SELECT salary FROM employee where rownum < 6 ORDER BY
salary DESC
group by dept;

Is This Answer Correct ?    11 Yes 39 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is transport network substrate (tns) in oracle?

587


How to call a stored function in oracle?

574


How to define a sub function?

666


How to use like conditions in oracle?

568


what is meant by magic query

1773






How to use fetch statement in a loop?

553


What are the system predefined user roles?

585


What are internal user account in oracle?

571


Respected sir, Please send me technical questions related to oracle apps..

1379


How to sort the query output in oracle?

610


How to connect to the server with user account: sys?

564


How to use "in out" parameter properly?

612


please explain.. DB architecture ...

1560


What is blob datatype?

569


Explain alias?

713