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 / md valiyullah

select max(sal)-5 from emp;

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are bitmap indexes? How does they work?

2181


What is clustered table in Oracle?

1103


Please explain drop constraint oracle?

1026


What is the difference between PFILE and SPFILE in Oracle?

993


Can u please explain me the Discussion on Except ,using cast like type cast. Question in the context of difference between two tables

1995


what is Single Byte Overhead...?

2497


How to start instance with a minimal initialization parameter file?

989


What is oracle server autotrace in oracle?

1088


How to invoke the original export import utilities?

970


src name sex a,male b,female c,male d,female Required output : male female a,b c,d tried pivot but was not successfull select * from src pivot (max(name) for sex in ('MALE','FEMALE'));

1617


How to define and use table alias names in oracle?

882


How to unlock the sample user account in oracle?

915


How can you tell how much space is left on a given file system and how much space each of the file systems subdirectories take-up?

2771


Explain an exception?

918


What spfile/init.ora file parameter exists to force the CBO to make the execution path of a given statement use an index, even if the index scan may appear to be calculated as more costly?

1980