how will I find the first 5 highest salaried employees in
each dept in oracle.
Answer Posted / karthik
select * from (select ename,eno,dept,sal,row_number() over
(partition by dept order by sal desc)top5 from emp) where
top5 <= 5
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to retrieve the count of updated rows?
How to find out what oracle odbc drivers are installed?
What query tells you how much space a tablespace named test is taking up, and how much space is remaining?
How to rename a tablespace in oracle?
material view and view disadvantages?
What privilege is needed for a user to query tables in another schema?
What is a tns file?
How to retrieve data from an explicit cursor?
Explain a private synonyms?
How to create a testing table in oracle?
What is materialized view in Oracle?
What is the difference between post-database commit and post-form commit?
How to sort the query output in oracle?
What is oracle sid?
How to start your 10g xe server from command line?