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...

find the 3rd max salary

Answer Posted / shruti

select salary from salarytable orderby salary desc Limit 2,1

First It will arrange all salary in desc order then it will
limit the result using Limit command starting from position
0,1,2 and fetch record 1

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between view and materialized view?

886


When we should use and scope of @@identity?

951


List out the difference between union and union all in sql server?

918


What is Replication?

989


What are the risks of storing a hibernate-managed object in a cache? How do you overcome the problems?

1025


What is a rollup clause?

906


What is self contained scalar sub query?

925


How to make a column nullable?

1033


Explain time data type in sal server 2008?

869


What do you mean by normalisation?

961


What is an expensive query?

879


How to set database to be single_user in ms sql server?

966


Explain transaction server isolation?

979


What are the dmvs? : sql server database administration

1003


explain declarative management framework (dmf) in sql server 2008?

948