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 to get employee name from employee table which is the
fiveth highest salary of the table

Answer Posted / naresh

select salary from (select distinct(salary) from employee
oraderby salary desc) where rownum<=5;

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is better varchar or nvarchar?

994


Why is pl sql needed?

927


Which is faster count (*) or count 1?

1026


what is 'mysqld'? : Sql dba

964


What is a recursive stored procedure?

1173


What port does sql server use?

1057


Does pdo prevent sql injection?

928


Explain lock escalation? : Transact sql

1192


How does rowid help in running a query faster?

1415


what does myisamchk do? : Sql dba

1010


What mean sql?

1000


Is sql harder than python?

1094


Explain the uses of control file.

1047


What are predefined functions in sql?

1042


what is the maximum length of a table name, database name, and fieldname in mysql? : Sql dba

1121