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 nth highest salary

Answer Posted / dinesh

select distinct(a.salary)
from Salarydtls a
where 3= (select distinct(count(b.salary))
from salarydtls b
where a.salary<=b.salary)

ans is for third highest sal

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what happens on checkpoint? : Sql server database administration

1158


Why use identity in sql server?

1173


How to delete a login name in ms sql server?

1128


What is temporal table?

938


What is a field in a table?

1075


What is query processing?

990


tell me what are the steps you will take to improve performance of a poor performing query? : Sql server database administration

1072


Is INSTEAD OF trigger directly applicable to Table ?

1070


What is the name of reporting services config file and what’s it’s used for?

153


How to modify an existing user defined function?

1171


Explain concepts of analysis services?

1017


What does Master database contains?

1184


Do you know what are acid properties of transaction?

1005


What is the default schema of your login session in ms sql server?

1095


What is bcnf normalization form?

1162