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

select first_name,sal from
(
select first_name,sal from
(
select distinct
sal from employees
order by sal desc
)
where rownum < 5
order by sal
)
where rownum<2;

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is count * in sql?

1000


What is package in pl sql?

1027


What are the main features of cursor?

1071


How many triggers can be applied on a table?

935


how to create a new table by selecting rows from another table in mysql? : Sql dba

1107


Inline the values in PL/SQL, what does it mean.?

1229


What is int identity in sql?

1143


How do I view a sql trace file?

1030


What is materialized view. What are different methods of refresh?

1393


What are the types of keys?

996


how to implement one-to-one, one-to-many and many-to-many relationships while designing tables? : Sql dba

1002


explain advantages of myisam over innodb? : Sql dba

1069


What does truncate mean in sql?

1025


What is the maximum number of rows in sql table?

1030


What is a full join sql?

1057