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...

how will I find the first 5 highest salaried employees in
each dept in oracle.

Answer Posted / lakshya

SELECT salary FROM employee where rownum < 6 ORDER BY
salary DESC
group by dept;

Is This Answer Correct ?    11 Yes 39 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

you are a universe designer and report developer in BO, what type of information you gather from client?Briefly explain plz

1957


How do you bind variables in oracle?

990


How would you configure your networking files to connect to a database by the name of DSS which resides in domain icallinc.com?

1928


What is oracle in java?

979


What privilege is needed for a user to connect to oracle server?

1001


I have a database backup file in .db (ext) form how to conver it into .dmp (ext.) for oracle database

2148


Whether any commands are used for months calculation? If so, what are they?

1101


How to assign query results to variables?

1060


What is the difference difference between $ORACLE_HOME and $ORACLE_BASE.

1117


How to create an oracle database manually?

1094


You have found corruption in a tablespace that contains static tables that are part of a database that is in NOARCHIVE log mode. How would you restore the tablespace without losing new data in the other tablespaces?

1934


What is the difference between translate and replace?

1074


what are actual and formal parameters?

1113


How to create a single index for multiple columns?

1045


How to omit columns with default values in insert statement in oracle?

1054