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 dml commands?

1075


define sql insert statement ? : Sql dba

1080


what is the difference between inner and outer join? Explain with example. : Sql dba

1067


What are the advantages of pl sql?

1167


How do you explain an index?

1334


What is pl sql package?

1073


what are date and time data types in mysql? : Sql dba

1024


What is a temporal table?

983


Determine if oracle date is on a weekend?

1091


What is a table partition?

1208


What is nested table in pl sql?

1123


Can sql function call stored procedure?

1074


Explain spool.

1219


What are stored procedures in mysql?

1076


What are sql commands?

1067