Jump to content

counting records in a table


sunanda

Recommended Posts

hi all.. help me in writing a SQL Querythe table(EMP) has some columns such as Emp_name, Emp_id, Dept etcI want to count number of employees in each dept. the out put should look like this. Dept. Count aaa 10 bbb 15 ccc 10Thanks in advance.Regardssunanda

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...