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
Explain do view contain data?
How can I create database in oracle?
What is null value in oracle?
What is the disadvantage of User defind function?
How to export several tables together?
What is bind variable in oracle 11g?
Explain oracle insert into command?
What is a partition in oracle?
Whether any commands are used for months calculation? If so, what are they?
what is a Nested Loop join?
How to define a data source name (dsn) in odbc manager?
How to write date and time literals in oracle?
how do u setup a replication site?
Explain an index?
what is the scenario where you take the database to NoArchivelog mode?