how will I find the first 5 highest salaried employees in
each dept in oracle.
Answer Posted / shareef
select * from(select emp.*,
dense_rank() over(partition by deptno order by sal desc) r
from emp) where r<=5;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How i can handle exception in large code like 1000 line without distrubing the code or without exception handler sction?
What is connection pool in oracle?
Describe varray?
How to do a full database export?
6. Display the client name and order date for all orders using the traditional method.
How many data types are supported?
How to define an explicit cursor in oracle?
Please explain joins in oracle?
what is the dual table in oracle?
Her departmandaki isçilerden empno' su ikinci sirada olan isçilerin empno, deptno, hiredate, sira_no bigilerini döndüren sorguyu yaziniz?
What is the use of oracle?
How to export data to a csv file?
If any one has information regarding interview of NIC (National Informatics Centre),it would be of great help...
How to define an anonymous block?
Explain the use of rows option in exp command.