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 do I start and stop sql server?

965


What is table level trigger?

948


What are 3 ways to get a count of the number of records in a table?

1016


Explain the microsoft sql server delete command? : SQL Server Architecture

1004


Can a function call a stored procedure in sql server?

908


How do I create an extended event in sql server?

900


Recommend an approach to ensuring that all changes in the remote databases synchronize with the SQL Azure database?

128


What is the fastest way to permanently delete a 1 million row table named customers?

1147


What are the types of dml?

930


Explain what are commit and rollback in sql?

864


What is cross join in sql server joins?

1073


How to change a login name in ms sql server?

1023


What to check if a User database is locked?

1017


Which trace flags are enabled in sql server?

939


What is optimization and its types?

910