Here's the situtaion.
I have a table (called Main)which holds beneficiary information (Name, Address, Date of Birth .. etc.). What I want to do is write a query (or set of queries) that returns a gender count per age "cohort" using only information stored in the Main table.
The cohorts are - 00-04, 05-09, 10-14, ..., etc. up to the final cohort, 65+.
I'm wanting to get a result that has each column mapped to each of the cohorts, and 2 rows, one for Male count and one for Female count and each row will have a count of the number of Male/Females in that particular age cohort.
I hope this is enough info.
ANY suggestions will be greatly appreaciated.
Thanks.
I have a table (called Main)which holds beneficiary information (Name, Address, Date of Birth .. etc.). What I want to do is write a query (or set of queries) that returns a gender count per age "cohort" using only information stored in the Main table.
The cohorts are - 00-04, 05-09, 10-14, ..., etc. up to the final cohort, 65+.
I'm wanting to get a result that has each column mapped to each of the cohorts, and 2 rows, one for Male count and one for Female count and each row will have a count of the number of Male/Females in that particular age cohort.
I hope this is enough info.
ANY suggestions will be greatly appreaciated.
Thanks.