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

Write a query to get 2nd maximum salary in an employee table ?

Answer Posted / rajesh.m

Crete Table Curtest(Emp char(40),salary money)
------------------------------------------------
Select Min(Salary) from Curtest where Salary
in (select Top 2 Salary from Curtest)

--------------------------------------------------

Is This Answer Correct ?    21 Yes 33 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of stored procedure?

948


What is trigger point?

952


Can you have more than one key in a database?

893


What type of database is sql?

981


Explain how can you save or place your msg in a table?

986


How to write pl sql program in mysql command prompt?

1009


How to test for null values?

985


how can we destroy the cookie? : Sql dba

964


What is the reports view in oracle sql developer?

928


How to run sql statements with oracle sql developer?

1000


What is right join sql?

922


How many databases can sql express handle?

943


What is prepared statement in sql?

1000


Why do we need pl sql?

938


What are the properties of a transaction?

1076