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

How to make conditional sum in ssrs?

177


Explain datetimeoffset data type in sal server 2008?

892


What are the different kinds of ssrs reports?

212


What are the pros and cons of putting a scalar function in a queries select list or in the where clause?

1198


What does set rowcount do?

889


What are the acid properties?

988


Help!!!!!!!!!!!! My database has gone offline, it is highlighted as 'Suspect'. Foolishly, i haven't got a recent back up. Is there a way of quickly restoring the database? Thank you

1730


How to delete duplicate rows?

971


What is normalization 1nf 2nf 3nf?

1042


What is the standby server?

938


Why SQL Agent is used?

1120


In case you have filters in your report, when filters will be applied in cached report instance?

113


What is the recovery model?

972


Write query to return all rows sql?

1035


Explain about builtinadministrator?

1036