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 the number or character entered through keyboard gets converted to equivalent ascii code & it get stored on ram in the binary form. What is the exact procedure. : Dot net architecture

894


Explain different pipelining hazards and how are they eliminated? : .NET Architecture

961


how we can fire event in databound column in datagrid without using button?

979


How can I create a application?

873


5. Wcf- Session Managment

1928


What is a virtual memory? : .NET Architecture

902


Different types of authentication modes in .net framework ?

921


Is .net easier than java?

874


what is polymorphism and advantage ?

1929


Explain hard disk and what is its purpose? : Dot net architecture

885


Can you explain control extenders?

905


Describe the Managed Execution Process in .NET?

911


Explain Intermediate Language?

1028


Can I create my own context attributes?

918


What is the procedure on hardware that converts the ascii value to binary? : .NET Architecture

925