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

select top 1 salary from (select top 5 salary from
emp_table order by salary desc)temptable order by salary asc

Is This Answer Correct ?    17 Yes 36 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a with(nolock)?

985


Do you have any idea about the tcl commands?

965


How many primary keys are possible in a table?

926


What are the steps you will take to improve the performance of a poor performing query?

980


why would you use sql agent? : Sql server database administration

1219


What is inner join? Explain with an example?

1226


Can we store videos inside the sql server table?

987


Can you explain important index characteristics?

993


How can I know what locks are running on which resource?

957


How many types of schemas are there?

1043


Do you know what is raid and what are different types of raid configurations? : SQL Server Architecture

1067


What are cursors? Explain the different types of cursors Enlist a few disadvantages of cursors.

1272


How to create a Master database in SQL server ?

1097


How real and float literal values are rounded?

1159


Does sql server use java?

1077