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
What is a snapshot in oracle database?
How do I call oracle stored procedures that take no parameters?
Explain drop constraint oracle?
Give the various rollback segment states.
How to check database size in Oracle?
How to start a new transaction in oracle?
How to use existing values in update statements using oracle?
How to convert raw data type into text in oracle? Explain
How to save query output to a local file?
What is recovery manager(rman) backup in Oracle?
How to work with data objects interactively?
What happens if you use a wrong connect identifier?
How to create a stored procedure in oracle?
What are the differences between number and binary_float in oracle?
What is oracle rownum?