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 read data in a table with "select" statements?

934


What are views used for?

984


how we use window authentication connection with sql server.?

1102


What are the tables in sql?

1057


What is enhanced database mirroring in sql server 2008?

930


What is the difference between char, varchar and nvarchar?

990


What is the purpose of forms?

919


What is a trigger what are the advantages of trigger?

939


How to retrieve field values using mssql_result()?

1223


How to replace null values in expressions using isnull()?

1064


Explain table valued parameters in sql server? Why tvp used?

979


you notice that the transaction log on one of your databases is over 4gb the size of the data file is 2mb what could cause this situation, and how can you fix it? : Sql server administration

929


What is the native system stored procedure to execute a command against all databases?

986


what is a live lock? : Sql server database administration

913


What is RMS migrations?

2105