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
List the parts of a database trigger.
What is sharded cluster?
HI ALL, CAN ANYONE TELL ME THE DIFFERENCES BETWEEN SQL CLUSTURS,MSQL CLUSTERS,ORACLE CLUSTERS.......THANKS IN ADVANCE
How do we create privileges in oracle?
Oracle
How to connect the oracle server as sysdba?
What do database buffers contain?
How do I start tns listener?
What is transport network substrate (tns) in oracle?
Explain what are the type of synonyms?
What is oracle open database communication (odbc)?
How to create a testing table in oracle?
How to drop a tablespace?
How to convert a date to char in oracle? Give one example.
State some uses of redo log files?