how will I find the first 5 highest salaried employees in
each dept in oracle.
Answer Posted / shareef
select * from(select emp.*,
dense_rank() over(partition by deptno order by sal desc) r
from emp) where r<=5;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between hot backup and cold backup in oracle? Tell about their benefits also.
How to check the oracle tns settings?
What language does oracle use?
what is the need of indexing topic in oracle? where do we use in a Java project? any other option other than using this to get the same result where we use indexing ?
How to create a stored function in oracle?
How to create a new view in oracle?
Explain oracle data types with examples?
What is oracle join syntax?
How would you edit your CRONTAB to schedule the running of /test/test.sh to run every other day at 2PM?
What is the data pump export utility?
What are the restrictions in a oracle read only transaction?
Respected sir, Please send me technical questions related to oracle apps..
What privilege is needed for a user to insert rows to tables in another schema?
What is a cursor in oracle?
What is system tablespace?