daneharnett
Programmer
Hi,
I have a table that lists dates of birth..
I would like a query that shows the number of people who fall into a certain age range eg
15-20 = 10
21-30 = 5
31-40 = 7
and so on...
I know how to get a persons age from a date of birth but im not sure on how the SQL should look to group by a range
Thanks in advance
I have a table that lists dates of birth..
I would like a query that shows the number of people who fall into a certain age range eg
15-20 = 10
21-30 = 5
31-40 = 7
and so on...
I know how to get a persons age from a date of birth but im not sure on how the SQL should look to group by a range
Thanks in advance