how will I find the first 5 highest salaried employees in
each dept in oracle.
Answer Posted / rammohan
select rownum as row_id,sal from (select sal from
emp order by sal desc) where rownum <6;
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is the data type of dual table?
How to create a server parameter file?
What is SQL Tuning Advisor in Oracle?
Can u please explain me the Discussion on Except ,using cast like type cast. Question in the context of difference between two tables
How to drop an existing view in oracle?
What is sharded cluster?
How to invoke the data pump import utility?
What is the difference between $oracle_base and $oracle_home?
Why do we use coalesce function in oracle?
How to define a record variable to store a table row?
How to loop through a cursor variable?
What is the meaning of recursive hints in oracle?
What are the different types of modules in oracle forms?
How to use like conditions in oracle?
Where do you use decode and case statements?