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...

There is a 5000 EMP in company.how we find out the 5th
highest getting salary employee outof 5000 employes........

Answer Posted / nagireddy

select max(sal) from emp a where 5=(select count(distinct sal)
from emp b where a.sal<=b.sal);

Is This Answer Correct ?    13 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by rollback?

937


Can you use max on a char column?

1034


What is buffer pool in the db2 database?

1051


What is coalesce in db2?

1062


How do I delete a table in database?

978


What is the default page size of buffer pools?

1073


Explain the function done by data manager?

1221


What are db2 objects?

1004


If the cursor is kept open followed the issuing of commit, what is the procedure to leave the cursor that way?

1096


Mention the downsides of page level lock.

1116


What does sqlcabc has?

998


What is the difference between spufi and qmf?

1055


Mention data types used in db2 ?

1109


How to find the maximum value in a column in the db2 database?

1020


Explain the contention situations caused by locks?

1017