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

Is keyword pl sql?

989


Can we insert data into materialized view?

941


What is benefit of creating memory optimized table?

970


How does cross join work?

948


Does pdo prevent sql injection?

931


Why triggers are used?

987


what is msql? : Sql dba

988


What is the need of a partition key?

983


What is bulk compiling in pl/sql.?

1127


what are the different type of sql's statements ? : Sql dba

924


What is difference between stored function and application function?

1195


What version is sql?

1022


Can I learn sql in a week?

1059


What is the use of non clustered index?

989


What are the types of keys?

991