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 index, cluster index and nonclustered index?

930


Which are the olap features?

908


What does the not null constraint do?

1002


You want to check the syntax of a complicated update sql statement without executing it. What command should you use?

909


Can another user execute your local temporary stored procedures?

942


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

948


What are some of the pros and cons of not dropping the sql server builtinadministrators group? : sql server security

935


What is the difference between Triggers and Stored Procedure?

1033


What command do we use to rename a database?

1014


How can I create a report based on a query? : sql server management studio

976


How do I determine how many instances of sql server are installed on a computer?

959


How to change parameter value inside the report?

153


How to integrate the ssrs reports in application?

936


List the ways in which dynamic sql can be executed?

972


What are ddl (data definition language) statements for tables in ms sql server?

1029