how will I find the first 5 highest salaried employees in
each dept in oracle.
Answer Posted / jas
select a.sal,a.emp_no from employee a
where 5=(select distinct(count(*) from
employee b where a.sal> b.sal)
| Is This Answer Correct ? | 8 Yes | 9 No |
Post New Answer View All Answers
What is meant by an index?
What is the difference between translate and replace?
What are the set operators union, union all, minus & intersect meant to do?
Can we insert data in view oracle?
Is there any function in oracle similar like group_concat of mysql?
How do you bind variables in oracle?
How to revoke create session privilege from a user in oracle?
Can we call procedure inside function in oracle?
How do I connect to oracle?
How do I uninstall oracle 11g?
Explain about the analyze command in oracle?
Give the advantages and disadvantages of clusters.
What is the usage of save points in oracle database?
Database is hung. Old and new user connections alike hang on impact. What do you do? Your SYS SQLPLUS session IS able to connect.
What is save point in oracle database?