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 to do if dba lost the system password?
What is the exact use of Collections?
What is ASM (Automatic Storage Management) in Oracle?
Why use resource manager in Oracle?
How to view the data files in the current database?
What is the disadvantage of User defind function?
How to delete a column in an existing table?
What is PL/SQL ?
Explain constraining triggers.
How to delete multiple rows from a table in oracle?
Explain the difference between a procedure and a function? What do you understand by those terms?
How to find out what oracle odbc drivers are installed?
Is there any function in oracle similar like group_concat of mysql?
What are the advantages of oracle?
What are operators in oracle?