Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Why should I use oracle database?

978


Does facebook use oracle?

1021


What is Redo Log Buffer in Oracle?

1188


How to recover a dropped table in oracle?

1023


How to convert times to characters in oracle?

1014


Explain the truncate in oracle?

948


Oracle

2358


What is different types of joins?

1009


What is oracle latest version?

1084


What privilege is needed for a user to delete rows from tables in another schema?

1050


Explain the use of file option in exp command.

1117


I have a parent program and a child program. I want to write a statement in Exception Block of the parent program so that when the statement in the exception block is executed, the control goes to the next statement in the parent block bypassing the child block.How do i do that?

2442


What are the uses of linked server and explain it in detail?

1044


What is ASM (Automatic Storage Management) in Oracle?

1181


How will you write a query to get a 5th rank student from a table student_report?

1847