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 / harikumar

select max(salary) as secondMax from employee where salary
<> (select max(salary) from employee)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you list all the columns in a database?

931


Why use triggers?

1014


What is the report model project?

141


What is resultset concur_updatable?

1021


What are the differences between stored procedure and view in sql server?

1248


Does any body please help me what question's have asked for SSRS in the interview?

2148


How to call stored procedure using http soap?

1079


What is a bit datatype?

987


Explain stored procedure?

1055


How to make a column nullable?

1115


What do mean by xml datatype?

1103


what are the critical issues you have resloved in your company

1964


Explain nested stored procedure. Syntax and an example for create nested stored procedure?

933


How to include text values in sql statements?

1040


What are extended events in sql server?

955