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

Is inner join faster than left join?

1205


How do I edit a trigger in sql developer?

1008


Why does sql need a server?

1048


How do I run sql profiler?

1082


Where is sql database stored?

992


How do you explain an index number?

1123


What is asqueryable?

988


How many primary keys can a table have?

1023


What is the sql case statement?

1019


What is the purpose of normalization?

1061


what is the use of friend function? : Sql dba

1035


What is memory optimized?

1096


what are the authentication modes in sql server? How can it be changed? : Sql dba

1446


Can there be more than one function with a similar name in a pl/sql block?

1001


Is merge a dml statement?

989