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

SELECT MAX(salary)
FROM employees
WHERE salary
NOT IN (SELECT TOP 4 salary FROM employees ORDER BY salary
DESC)

Is This Answer Correct ?    1 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the reason behind not using select * in embedded sql programs?

1121


How to test SQL -911 error while developing COB-DB2 program

7585


Where do you specify them?

1289


How to fetch the last row from the table in SQL (db2)?

1658


How to check table size in db2 sap?

1045


How many databases can be created inside an instance in db2 ?

1042


What are the rules for db2 programming?

1100


What does db2 mean?

1022


What is a db2 table?

1024


Name the lockable units in DB2?

1133


What action db2 takes when a program aborts in the middle of a transaction?

1156


What is deadlock in db2?

1076


If I have a view which is a join of two or more tables, can this view be updateable?

1139


How to check last update on table in db2?

1064


What is the physical storage length of the data types date, time, and timestamp?

1094