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

write the query for find the top 2 highest salary in sql
server

Answer Posted / saritha

select distinct top 2 salary from EMP order by salary desc

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define views.

1007


Different types of keys in SQL?

1093


What are the difference between clustered and a non-clustered index?

1039


Difference between LEN() and DATALENGTH() in sql server ?

1101


How to list all triggers in the database with sys.triggers in ms sql server?

1075


What are the new features of sql server 2008 r2 reporting service?

209


how to define testing of network layers? : Sql server database administration

970


What do you mean by a dependent functionality in a build?

1145


What is the difference between set and select?

1090


What is blocking and how would you troubleshoot it? : sql server database administration

1041


What is the sql case statement used for? Explain with an example?

990


Is oracle faster than sql server?

947


do you know what is a deadlock and what is a live lock? How will you go about resolving deadlocks? : Sql server database administration

982


what is bit datatype and what's the information that can be stored inside a bit column? : Sql server database administration

990


you want to be sure that queries in a database always execute at the maximum possible speed. To achieve this goal you have created various indexes on tables which other statement will keep the database in good condition? : Sql server administration

1073