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 find the second largest salary in the emp database and
also How to find 3rd,4th and so on ........ in the emp database

plz mail the answer @ mak2786@gmail.com

Answer Posted / balaji

TO FIND THE N-1th HIGHEST SALARY IN EMP TABLE

Select Min(salary) from emptable where salary not in(Select
Min(salary) from emptable)

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to store and query spatial data?

997


What is transaction server auto commit?

1068


Can another user execute your local temporary stored procedures?

991


Give some Scenario for Non Clusterd index? Can we write system defined functions in side The Function? Wat is the Unique Datatype?

2510


Explain what is lock escalation?

1071


Do you know hot add cpu in sql server 2008?

958


Can we create clustered index on composite key?

1089


What is the difference between system objects and user objects?

1166


What does set rowcount do?

913


What is difference between clustered index and non clustered index?

1079


How to list all login names on the ms sql server?

1145


What is implicit mode in sql server?

1109


Can I run multiple instances of sql server 2000 at the same time on one computer?

1074


How can change procedure in sql server?

1071


What are cascading parameters in ssrs reports?

231