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 open database communication (odbc)?

1003


How to count rows with the count(*) function in ms sql server?

951


What are three major types of constraints?

1043


What is a mutating table error and how can you get around it?

964


What is RMS migrations?

2082


Why we need to use secondry database file? though, we can do same work using primary database file also.

6750


What are the properties and different types of sub-queries?

957


What is equi join with example?

1008


What are the diifferences between the ms sql server vs mysql?

1116


What is a user-defined function in the sql server and what is its advantage?

1043


Does sql server use t sql?

951


How can you insert null values in a column while inserting the data?

1209


What is the default Port No on which SQL Server listens?

1066


What are various aggregate functions that are available?

913


What do you understand by a view? What does the with check option clause for a view do?

951