how will I find the first 5 highest salaried employees in
each dept in oracle.
Answer Posted / nagaraju nampally
select * from (select ename,sal,deptno,dense_rank()
over(partition by deptno order by sal)rnk from emp)x where
x.rnk<5
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
 How to use an oracle sequence generator in a mapping?
How do we create privileges in oracle?
What is a connect identifier?
How much memory your 10g xe server is using?
What is control file used for?
How to filter out duplications in the returning rows using oracle?
What happens if you use a wrong connect identifier?
How to use an explicit cursor without open statements?
6. Display the client name and order date for all orders using the traditional method.
How to select some rows from a table in oracle?
How to use "if" statements on multiple conditions?
What do the 9i dbms_standard.sql_txt() and dbms_standard.sql_text() procedures do?
how to make an oracle object
How do you increase the OS limitation for open files (LINUX and/or Solaris)?
How oracle handles dead locks?