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 / avi007

SELECT employee_name,min(salary) FROM ( select distinct
salary from employee order by salary desc)
where rowno<6 group by employee_name;

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is scope and visibility in PL/SQL?

1291


What is use of package in pl sql?

1071


Can we use insert statement in function?

1048


How to generate a salary slip like jan 1000 1000 feb 1000 2000 ... dec 1000 12000

2205


What is bulk compiling in pl/sql.?

1193


What action do you have to perform before retrieving data from the next result set of a stored procedure ?

2613


How do I use google cloud in sql?

1148


How many clustered indexes can you have?

1038


What is a subquery in sql?

1091


What is group by in sql?

1128


When you have to use a default "rollback to" savepoint of plvlog?

1253


Why function is used in sql?

992


what is oracle database ? : Sql dba

1081


What are the two types of periodical indexes?

988


What is the mutating table and constraining table?

1084