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

select d.dept_ID ,count(empid) from Emp a inner join Department b
on a.empid=b.empid
group by d.dept_ID

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When would you use an insert into .. Select option versus an insert into .. Values option? Give an example of each?

1054


Explain the types of indexes.

1114


What are the different acid properties?

1014


I have a table Events Events containing cardno,time,id,name--each id has a cardno my requirement is every day each employee swipe the card several times i want to calculate first and last time of each card the output should be name 1 2 6 7 in out in out holiday holiday xxx 09:30 06:30 09:40 06:45 where 1,2...... are dates for example january 1,2, etc. 6 and 7 are saturday and sunday how it is posssible

2182


How do you improve the performance of a SQL Azure Database?

135


Retrieve the unique rows from table without using UNIQUE and DISTINCT keywords.

960


What do you do in data exploration

929


what are the critical issues you have resloved in your company

1921


How to verify a user name with sqlcmd tool?

1023


What is relationship? What number of sorts of relationship are there?

1065


What is the sql profiler?

901


How each E-R model constructs can be mapped to the relational model?

922


explain different levels of normalization? : Sql server database administration

932


Explain the xml support sql server extends?

985


Can a trigger be created on a view?

897