how will I find the first 5 highest salaried employees in
each dept in oracle.
Answer Posted / karthik
select * from (select ename,eno,dept,sal,row_number() over
(partition by dept order by sal desc)top5 from emp) where
top5 <= 5
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is columnar storage what is the advantage?
What is the difference between sharding and partitioning?
Explain the use of record length option in exp command.
How can we delete duplicate rows in a table?
How to pass parameters to procedures?
how to code performance tuning of oracle PL/SQL? can any body send me the perfect answer?
What is index-organized table in Oracle?
What is meant by recursive hints in oracle?
Explain about functional dependency and its relation with table design?
What is an oracle table?
What are the advantages of oracle?
How many types of auditing in Oracle?
In AP we done Customizations for Late Payments Charges. For Reporting Purpose What are the Documents Prepared for Customer Understanding??
What is a proxy class?
How to define a procedure inside another procedure?