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 2nd higgest salary in the column for example
take table name is employee?
And also find bottom 2nd lowest salary ?

Answer Posted / sathish

select max(Salary)from employee where Salary not in (select
max(Salary)from employee )



select min(Salary)from employee where Salary not in (select
min(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

Explain difference between machine config vs. Web config : Dot net architecture

955


What is new in the .net 2.0 class library?

1161


Explain the race around condition? : .NET Architecture How can it be overcome? : .NET Architecture

977


What are bindings?

1056


how to set the startup position of the form?

2004


What re interop services?

1057


How do I stop a thread?

1007


How cache is used? : Dot net architecture

1052


What is a clickonce application?

977


Explain cache memory? : .NET Architecture

1026


Explain about microsoft visual studio?

1028


What is .net mobile lists. Explain with an example? : Microsoft dot net mobile

944


what is the difference between master page and content page?

2655


Explain the purpose of cache? How is it used? : Dot net architecture

1037


HttpHendler and HttpModules

2218