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

select top 3 sal from each dept?

Answer Posted / ashwini

Select * from emp A where 2>=(select count(distinct(B.sal)) from emp B where A.sal<B.sal);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is pl sql better than sql?

1046


What is the command used to fetch the first 5 characters of a string?

1217


What is clustered index sql?

993


what are the different index configurations a table can have? : Sql dba

1005


What is difference between stored procedures and application procedures?

1026


Is sql port 1433 encrypted?

1039


Can we rollback after truncate?

1036


what is single byte over head in oracle..?

2413


What is execution plan in sql?

1057


What is pivot query?

1084


What is difference between db2 and sql?

1010


Why we use cross join?

965


What is the difference between an inner join and an outer join?

1037


What is aggregate function in sql?

1041


What is mutating error in pl sql?

1033