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
Why are you getting errors when creating a new odbc dsn?
Explain the dirty pages?
What is table join?
What is the fastest way to permanently delete a 1 million row table named customers?
What is change tracking in sql server?
What happens to a statement batch if there is a compilation error?
What are the different acid properties?
What are the types of ssrs?
How can I create a report based on a query? : sql server management studio
What do you mean by data integrity?
What does it mean to be in union?
How many servers can we create in a single subscription?
Mention what are the core components of ssrs?
How do I start sql server 2016?
How would you use user_constraints table in DB?