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 clustered table in Oracle?
What are the common oracle dba tasks?
Explain the use of ignore option in imp command.
What is a nvl function? How can it be used?
What is oracle data type?
What is private procedure oracle?
How do I find the database name in oracle?
Explain database link?
How to use "in" parameter properly?
How to install oracle odbc drivers?
What are the data types in oracle?
Explain what are the different type of segments?
what is partitioning? Types of partitioning. explain? what is the new kind of partitioning type introduced in 9i?
Who developed oracle & when?
How to generate query output in html format?