G
Guest
I have the following query:
SELECT CityID, Age, Sex
FROM PDL
GROUP BY CityID, Age, Sex
ORDER By CityID
This returns all of the information that I need. However, I would like to do
some counts and grouping on this data. What is the best way for me to get a
breakdown of the number of people by Age and Sex that belong to each CityID?
There are multiple occurences of CityID in the table (77 different CityIDs).
SELECT CityID, Age, Sex
FROM PDL
GROUP BY CityID, Age, Sex
ORDER By CityID
This returns all of the information that I need. However, I would like to do
some counts and grouping on this data. What is the best way for me to get a
breakdown of the number of people by Age and Sex that belong to each CityID?
There are multiple occurences of CityID in the table (77 different CityIDs).