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 / kapil singh chauhan

select * from
(select ID,Salary from employee order by Salary desc)
where rownum < 3

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the default value of an integer data type in sql server 2005?

948


How to stop log file growing too big?

1012


What is hot add cpu in sql server 2008?

923


How to create a dml trigger using create trigger statements?

1029


Does a full backup include transaction log?

965


Is port 1433 secure?

993


What is de-normalization in sql database administration? Give examples?

981


What is cte (common table expression)?

1029


Explain different forms of normalization?

942


Explain encryption of entire databases without the need for application changes in sql server 2008?

1037


What is co-related sub query?

1020


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?

1117


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

981


How many ways to create table-valued functions?

979


What are entities and relationships?

969