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 / sunil panghal

select rownum as row_id,salary from (select salary from
employees order by salary) where rownum <6;

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i have a question here... As of my knowledge, when we apply an index (b-tree)on a column, internally it arranges the data in b-tree format and do the fetching process correspondingly... and my quetion is... How a bit-map index arranges the data internally when applied on a column?IS it in b-tree format or whatelse?

2011


What is the difference between translate and replace in oracle?

1218


Explain oracle 12c new features for developers?

1127


What are the numeric comparison operations?

1170


Use of an integrity constraint is better to validate data. Explain

1094


what is the difference between functional dependecy and multilevel dependency?

2521


How to create a new oracle data file?

1078


What is varray?

1198


why should i declare foreign key constraint as self relation instead of binary relation in tables ?

2094


How to view all columns in an existing table?

984


How to create a testing table in oracle?

1038


What does sharding mean?

1057


How to rename an index?

1126


What is different types of joins?

1081


What is a system tablespace?

1136