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 / selvaraj.v

In SQL Server 2000 Query:
-------------------------

select max(salary) from Employee where salary not in(select
max(salary) from employee)

This Query only selects the 2'nd Higehest Salary in that
table. So, you will try...

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ssrs?

129


List types of tables in SQL Azure?

126


What stored by the master? : sql server database administration

1110


What is linked report?

131


What is a subquery in a select query statement in ms sql server?

1131


How to defragment table indexes?

989


What is the security model used in sql server 2005?

1008


How to transfer data from a cursor to variables with a "fetch" statement?

1097


How do you handle datasets larger than 50 gb?

162


What is default constraint?

995


What is filter index?

951


How many types of triggers in sql server?

1030


How to create a local temporary stored procedure?

998


What is the maximum length of an alert name?

1001


What are different types of join?

1315