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 are the difference between “where” and “having” clause in sql server?

1079


How do you create a data source?

918


you notice that the transaction log on one of your databases is over 4gb the size of the data file is 2mb what could cause this situation, and how can you fix it? : Sql server administration

979


List the advantages of using stored procedures?

1060


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

1009


What are the various editions of sql server 2017 that are available in the market?

892


explain different types of constraints? : Sql server database administration

959


Why do we partition data?

1035


How to find tables without indexes?

1090


Can anyone tell that the extra features are there in SQL SERVER 2008 that are not available in previous versions .

1952


What happens if you delete a table that is used by a view?

993


How to achieve Paging of records in SQL SERVER?

1104


What is bit data type?

1042


Does partitioning ssd reduce performance?

898


Explain what is lock escalation and what is its purpose?

932