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

hi friends please answer this question ASAP:-
how to count the no. of employee in a each department
or
no. of employee in each location by using emp/dept table

Answer Posted / sushanta

select dept no, count(dept no)from employee group by dept no.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where is trigger in sql server?

984


Explain full-text query in sql server?

950


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

1005


What are data resources?

852


Disadvantages of the indexes?

1042


How do you make a trace?

951


what is a correlated sub-query? : Sql server database administration

892


What are different types of statements that are supported by sql?

979


What are trace flags?

958


Explain the truncate command? : SQL Server Architecture

1091


can a database be shrunk to 0 bytes, if not, why? : Sql server administration

1114


How to check if stored procedure is running in sql server?

959


what is a major difference between sql server 6.5 and 7.0 platform wise? : Sql server database administration

849


Is oracle faster than sql server?

884


Does any body please help me what question's have asked for SSRS in the interview?

2086