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

Select Min(Salary) from Curtest where Salary
in (select Top 2 Salary from Curtest order by salary desc)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

define data blocks ? : Sql dba

1002


What action do you have to perform before retrieving data from the next result set of a stored procedure ?

2575


How can a pl sql block be executed?

949


How to avoid using cursors? What to use instead of cursor and in what cases to do so?

1196


What are the limitations of sql express?

1073


What is sql partition?

1114


What is rownum and rowid?

1037


Explain what is a subquery ?

1193


what is cross join? : Sql dba

1004


How to write pl sql program in mysql command prompt?

1102


What is a recursive stored procedure?

1188


What is the difference between instead of trigger and after trigger?

1014


what is union? : Sql dba

1033


What does select count (*) mean in sql?

1022


What is the difference between having clause and where clause?

1067