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

What is the purpose of floor function?

978


What is the difference between dbcc indexdefrag and dbcc reindex?

932


What are the common performance issues in sql server?

871


How to change the ownership of a schema in ms sql server?

1096


How do I install sql server?

847


How does index makes search faster?

922


What is raid and what are different types of raid levels?

1079


What is a rownum?

894


Scalability, Availability, Integration with internet, etc.)?

2824


What is the purpose of sql profiler in sql server?

962


What is clustered primary key?

960


Do you know what is a trace frag? Where do we use it?

958


Explain what are page splits? : SQL Server Architecture

1006


When do you think a developer should use sql server-based cursors?

979


What are some of the pros and cons of not dropping the sql server builtinadministrators group? : sql server security

935