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

select * from employee where salary = (
select min(salary) from (
select distinct(salary) from employee
order by salary desc)
where rownum <=5)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention what are different methods to trace the pl/sql code?

1103


what is the command line end user interface - mysql? : Sql dba

925


What are predefined functions in sql?

977


What is the difference between a primary key and a clustered index?

930


Explain the order of sql statement execution?

977


Can we create foreign key without primary key?

932


Why do you partition data?

966


how can we optimize or increase the speed of a mysql select query? : Sql dba

884


what is sql in mysql? : Sql dba

1121


What is the use of procedures?

924


how can you create an empty table from an existing table? : Sql dba

1077


What is union and union all keyword in sql and what are their differences?

1045


how many values can the set function of mysql take? : Sql dba

933


What is delimiter in pl sql?

988


How do I view tables in mysql?

915