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

select * from emp e where &n=(select count(distinct Sal)from
emp where Sal<=e.Sal);

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why functions are used in sql?

932


Can we edit a view in sql?

927


what happens when the column is set to auto increment and you reach the maximum value for that table? : Sql dba

972


What is oracle sql developer?

994


What is sequence in sql?

945


What is data control language?

949


What are expressions?

954


What is schema in sql?

887


What is primary and foreign key?

1017


What does the sign mean in sql?

921


Can we commit inside a trigger?

945


What is substitution variable in pl sql?

981


What are sql commands?

938


What is java sql driver?

1040


what is the command used to fetch first 5 characters of the string? : Sql dba

1587