So if I then wanted to add the field [aapfco] to the mix, which is a yes/no field and I want to see how many records marked 'yes' in [aapfco] and what is the count of those marked yes in terms of the different states.
So if I have a record with the state = Ohio and the [aapfco] field marked yes, and another record with the State Michigan and the [aapfco] field marked yes, I want my query to show:
Michigan 1
Ohio 1
I tried this but it is not working:
SELECT Count(*)
FROM ([Select Distinct [registration aaco 2007].[state]
FROM [registration aaco 2007]
WHERE [aapfco]= yes]
GROUP BY [state], [aapfco]);