i want department wise maxmum salary and empolyee name
Answer Posted / sai krishna
Select * from (Select Dense_Rank() over ( Partition by department_id Order by salary desc) as Rnk,E.* from HR.Employees E) where Rnk=1;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is recovery manager in Oracle?
Database is hung. Old and new user connections alike hang on impact. What do you do? Your SYS SQLPLUS session IS able to connect.
Whether any commands are used for months calculation? If so, what are they?
Why does Oracle not permit the use of PCTUSED with indexes?
How to join two tables in a single query using oracle?
What is oracle and what are its different editions?
What is a dynamic performance view in oracle?
What is the difference between hot backup and cold backup in oracle?
How to add a new column to an existing table in oracle?
What is meant by an index?
What is materialized view in Oracle?
How to start a new transaction in oracle?
What is recycle bin in Oracle?
Explain about functional dependency and its relation with table design?
What is the difference between a hot backup and a cold backup in oracle?