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

select department_id,count(employee_id) from employees
group by department_id order by department_id;

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What the class forname () does?

1136


How can I tell if sql server is 32 or 64 bit?

1010


How we can compare two database data?

996


Explain the Ways to improve the performance of a sql azure database?

84


Explain what is the difference between union and union all?

1070


What is ms sql server service broker?

1039


What happens if you insert a duplicate key for the primary key column in ms sql server?

1023


Can a stored procedure call itself or recursive stored procedure? How many levels sp nesting is possible?

1009


How to find a value in another dataset based on current dataset field (ssrs 2008 r2)?

176


How to see existing views in ms sql server?

1105


When we should use @@error?

1030


Explain what is cte (common table expression)?

1183


Can a stored procedure call itself or a recursive stored procedure? How many levels of sp nesting is possible?

1122


How can I get data from a database on another server?

1043


Define full outer join in sql server joins?

1047