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

Do you know the cursor types?

1205


How sql server executes a statement with nested subqueries?

1093


Can we call stored procedure in view in sql server?

940


What are commit and rollback in sql?

1170


Is it possible to import data directly from t-sql commands without using sql server integration services? If so, what are the commands?

1453


Do you know what is a with(nolock)?

1103


Explain the different types of joins?

1046


Explain what are the restrictions while creating batches in sql server?

1114


What is subquery explain with example?

1123


What are the different type of replication in sql server?

1015


System variable and temporary variables

2302


Can we write trigger for view?

1071


What is purpose of normalization?

998


What do you mean by recursive stored procedure?

993


What is co-related sub query?

1072