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

Can a trigger be created on a view?

897


What is the contrast between sql and pl/sql?

1077


What are the types of sql server?

992


How to create a scrollable cursor with the scroll option?

928


What is a constant or literal in ms sql server?

995


What is database isolation in sql server? : sql server database administration

1026


what are the different ways of moving data/databases between servers and databases in sql server? : Sql server database administration

922


What are the different ways you can create databases in sql server?

1044


What do you understand by the analysis services in sql server?

895


what is an index? : Sql server database administration

935


How to get a list of columns using the "sys.columns" view in ms sql server?

920


what is difference between view and Dip.

2373


Why use view instead of a table?

883


Explain for xml explicit mode?

914


Explain what are the different index configurations a table can have?

1039