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

select salary from table t where n-1=(select distinct count
(sal) from table t1 where t1.sal>t.sal)

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What encryption security is available in sql azure?

99


if you encounter this kind of an error message, what you need to look into to solve this problem? : Sql server database administration

952


What are the High-Availability solutions in SQL Server and differentiate them briefly?

1104


What is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure?

962


What are the advantages of sql azure?

140


What language is sql server written in?

995


What is tcl in sql server?

1088


Can a stored procedure call itself or recursive stored procedure? How many levels sp nesting is possible?

908


What are acid properties of transaction?

909


Is sql server is free?

936


How to use subqueries in the from clause in ms sql server?

1119


why would you call update statistics? : Sql server database administration

1036


What are pessimistic lock and optimistic lock?

1013


Do you know what is rank function?

1047


you have couple of stored procedures that depend on a table you dropped the table and recreated it what do you have to do to reestablish those stored procedure dependencies?

1005