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

select salary-1 from users where salary in (select
max(salary) from users);

Is This Answer Correct ?    0 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between function and stored procedure in sql server?

1083


What are entities and relationships?

976


What is cte (common table expression)?

1039


Explain the stored procedure?

1057


How can we use ConnectorJ JDBC Driver with MS SQL?

1003


How to retrieve field values using mssql_result()?

1324


How can we delete Duplicate row in table?

1070


what is isolation level at dead lock?

2156


List some of the rules that apply to creating and using a ‘view’

888


What are security principals used in sql server 2005?

992


How optimize sql query with multiple joins in sql server?

907


How to deploy the Report?

140


What is tcl in sql server?

1131


How many partitions a clustered index has by default in sql server 2012?

1091


You want to implement the many-to-many relationship while designing tables. How would you do it?

999