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

can anybody tell us, how to select 2nd max salary from
table.
my id is ashish.akk@gmail.com

Answer Posted / sandeep rana

Select top 1 salary from table where salary in(select top 2
salary from table order by salary desc)order by salary

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create a view with data from multiple tables?

997


What do you mean by sql server agent?

974


Create and insert into temp table in sql server?

1007


What are Row versions of DataRow?

1007


How and why use sql server?

991


What are the commands used in DCL?

1006


Does a full backup include transaction log?

949


What is a coalesce function?

1166


What is query parameter in ssrs?

160


What is page-level compression?

942


where can you add custom error messages to sql server? : Sql server administration

1085


What is model database in sql server?

1033


Why de-normalization required?

985


How to use the inserted and deleted pseudo tables?

946


How to modify an existing stored procedure in ms sql server?

1059