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

Find top Nth employee from each department in terms of
salary?

Answer Posted / pradeep nambiar

select distinct(a.salary) from employee a where &n=(select
count(distinct(b.salary)) from employee b where
a.salary=b.salary)

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to write character string constants or literals in ms sql server?

1026


What is a join in sql? What are the types of joins?

1108


Once setting replication, is it potential to own a publisher as sixty four bit sql server and distributor or subscribers as a thirty two bit sql server?

1012


Explain what is sql server english query?

1052


What is the difference between deallocate cursor and close cursor?

1262


What is the report builder?

139


Tell me what are the advantages of using stored procedures?

1014


Why do we use non clustered index?

1083


What is @@rowcount in sql?

1006


Does an index slow down updates on indexed columns?

974


Explain “not null constraint” in sql server?

1033


How many types of schemas are there?

1042


What is server-level principal?

122


How to find the version of sql server? : sql server database administration

1111


How do I find the sql server version?

1027