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 are pl/sql cursors?

1049


What is the difference between alter trigger and drop trigger statements?

1102


What is synchronized subquery?

1165


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

1389


Which sql statement is used to return only different values?

1003


What is cursor explain with example?

982


What is the difference between having and a where in sql?

1102


How to return an array from java to pl/sql?

1132


Which are the different types of indexes in sql?

1055


What are different types of tables in sql?

996


What is localdb mssqllocaldb?

1066


explain mysql aggregate functions. : Sql dba

984


What is number function in sql?

965


Can we use joins in subquery?

1158


what is timestamp in mysql? : Sql dba

1071