usachrisk
07-16-2002, 09:33 AM
Hello -
I'ved used SELECT COUNT(*) FROM <table> as <Field> in the past to get the count of records in a table, but I need something a little more detailed for a specific DB I'm working on.
My Setup is that I have two tables. One has account numbers, and one has a list of Employees associated with cost centers. I'm trying to get a query that will output the number of employees in each cost center as follows:
1111 : 30
2222 : 20
3333 : 00
,etc. Any thoughts?
Christopher.
I'ved used SELECT COUNT(*) FROM <table> as <Field> in the past to get the count of records in a table, but I need something a little more detailed for a specific DB I'm working on.
My Setup is that I have two tables. One has account numbers, and one has a list of Employees associated with cost centers. I'm trying to get a query that will output the number of employees in each cost center as follows:
1111 : 30
2222 : 20
3333 : 00
,etc. Any thoughts?
Christopher.