how will I find the first 5 highest salaried employees in
each dept in oracle.
Answer Posted / sunil panghal
select rownum as row_id,salary from (select salary from
employees order by salary) where rownum <6;
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
How to write a query with a left outer join in oracle?
How to define an oracle cursor variable?
What is the sid in oracle?
What is oracle used for?
Which are the five query types available in oracle?
How do we get field details of a table?
How to define and use table alias names in oracle?
How to check the oracle tns settings?
What are triggers in oracle?
What is meant by an index?
Which dictionary view(s) would you first look at to understand or get a high-level idea of a given Advanced Replication environment?
What happens if the imported table already exists?
What are the limitations oracle database 10g xe?
Why cursor variables are easier to use than cursors?
What are the various types of snapshots ?