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

select max(salary) as salary1 from employee where salary <
select max(salary) as salary2 from employee

Is This Answer Correct ?    27 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens if null values are involved in bitwise operations?

1080


What is oltp (online transaction processing)?

1058


What is the report builder?

143


Explain about extended stored procedure?

994


What are acid properties of transaction?

996


What is difference between inner join and join?

1096


How will you know when statistics on a table are obsolete?

1129


what exactly sql injuction.how to overcome.....

2596


Explain the cursor lock types?

1099


Do you know what is rank function?

1128


Difference between Inner vs outer joins?

988


What is merge statement?

1135


Explain transaction isolation levels in sql server?

1184


What languages bi uses to achieve the goal?

1051


If you're given a raw data table, how would perform etl (extract, transform, load) with sql to obtain the data in a desired format?

1025