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
How to return top 5 rows in oracle?
How to create a new view in oracle?
Are truncate and delete commands same? If so why?
How index is implemented in oracle database?
Why oracle is used?
How to list all tables in your schema?
How to create a table interactively?
How would you go about verifying the network name that the local_listener is currently using?
How i can handle exception in large code like 1000 line without distrubing the code or without exception handler sction?
What is rich query?
How to start instance with a minimal initialization parameter file?
How do I call oracle stored procedures that take no parameters?
Which dictionary tables and/or views would you look at to diagnose a locking issue?
How to count duplicated values in a column in oracle?
What is where clause in oracle?