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 / rajkumar v

select Dept_Name,count(Dept_Name) as 'No. of employee'
from tbl_dept group by Dept_Name having COUNT(*)>1

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by normalisation?

965


What does it mean to be in union?

873


what is denormalization and when would you go for it? : Sql server database administration

1118


How to find related tables in sql server?

873


What is BCP? When does it used in sql server 2012?

1002


Explain the microsoft sql server delete command? : SQL Server Architecture

1011


What do you understand by replication in sql server? Mention the different types of replication in sql server.

895


Is foreign key unique?

959


How to name query output columns in ms sql server?

918


How will you optimize a stored procedure optimization?

957


What do you do in data exploration

929


Explain transaction server implicit?

925


What do you understand by coalesce in sql server?

1002


What is the meaning of sql server?

936


What is the name of reporting services config file and what’s it’s used for?

132