Hi,
I need to be able to calculate age groups from a birthdate field and SUM them up. Example,
age1 = 0 - 12 years old
age2 = 13 -17 years old
age3 = 17 and above years old
Date age1 age2 age3
---- ---- ---- ----
11/04/04 3 5 14
11/03/04 15 2 13
I'm using MySQL 4.1.7 if that makes any diffrence. Any advice would be great.
Ray
Thanks,
I need to be able to calculate age groups from a birthdate field and SUM them up. Example,
age1 = 0 - 12 years old
age2 = 13 -17 years old
age3 = 17 and above years old
Date age1 age2 age3
---- ---- ---- ----
11/04/04 3 5 14
11/03/04 15 2 13
I'm using MySQL 4.1.7 if that makes any diffrence. Any advice would be great.
Ray
Thanks,