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 second largest salary in the emp database and
also How to find 3rd,4th and so on ........ in the emp database

plz mail the answer @ mak2786@gmail.com

Answer Posted / ravi kumar

SELECT MIN(sal) FROM Emp WHERE sal in
(SELECT TOP 2 DISTINCT sal from Emp ORDER BY DESC)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me what is de-normalization and what are some of the examples of it?

976


What should be the fill factor for indexes created on tables? : sql server database administration

1108


What is transaction server distributed transaction?

1005


How to create and drop temp table in sql server?

1019


Explain “row_number()” in sql server with an example?

962


what is the difference between a primary key and a unique key? : Sql server database administration

967


Describe in brief authentication modes in sql server.

987


Why is sql server log file full?

999


what are the different stages of Report Processing?

131


What is use of except clause? How it differs from not in clause?

991


What is a periodical index?

883


What are different types of replication in sql server?

1053


What is query optimizer in sql server?

976


How do you delete duplicate records in sql server?

1014


Tell me when is the update_statistics command used?

1051