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

A little correction:

sol2> select salary from emp order by salary desc limit 1,1;

select salary from emp order by salary desc limit n-1,1;

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What new data source types were added in ssrs 2014?

169


How the authentication mode can be changed?

1176


How to find out what is the default collation in a database?

1179


What is SQL Azure?

107


What are the restrictions that views have to follow? : SQL Server Architecture

1058


Does partitioning improve performance?

1021


How to connect ms access to sql servers through odbc?

1070


what is checksum in sql server.........???

1747


What is difference between view and materialized view?

987


how would you store your query in an SSRS report or a Database server?

166


Explain about SQL server 2005?

1026


Where do we use trace frag?

1063


What is create command?

1021


Do you know the different ddl commands in sql?

1106


What command would you use to add a column to a table in sql server?

1358