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 / ravi pahuja

selecl distinct top 2 salories from emp order by salory desc

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are views in ms sql server?

1025


How to select some specific rows from a table in ms sql server?

963


What is the contrast between sql and pl/sql?

1077


Explain the difference between function and stored procedure?

900


Can you get second highest salary from the table?

913


Is natural join and equi join same?

912


What are out-of-range errors with date and time literals?

967


Explain go command in sql server?

970


Can we use where clause with group by?

858


Explain insert into select statement?

902


How do I run a trace in sql server?

933


How to copy the tables, schema and views from one sql server to another?

993


How to replace null values in expressions using isnull()?

1052


What is raiseerror? What is raiseerror?

1069


What is the difference between DataRow.Delete() and DataRow.Remove()?

1168