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

select max(salary) from (select salary from table1 where
salary<(select max(salary) from table1))

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is hierarchy, what are its types and difference between them? : sql server analysis services, ssas

1317


What is data compression?

1064


What are triggers in ms sql server?

1224


What are the basic features of a trigger in ms sql server?

1264


Why olap is used?

1031


Do you know what is a with(nolock)?

1103


What is the stored procedure?

1053


What do you understand by a view?

1046


How to display a past time in days, hours and minutes?

1058


What stored procedure would you use to view lock information?

1016


Can you explain various data region available in ssrs with their use?

1020


When does a workload on SQL Azure get throttled?

131


How do you manipulate data?

949


explain how to create a new schema in a database? : Sql server database administration

1154


How to create “dependant” parameter “make, model, year”

137