Well I was finally able to check and run the query. I thought of the code on the top but I failed to see the subsitution that could be done. I'm always amazed as to what can be done with SQL queries.
Thanks again for the help.
Ray
The date column is a different date, it is not the birthdate. Here is the essentials of the tables: Table1 has the statistical information with a link to Table2 via uID to get the users birthdate
Table1
uID --> VARCHAR(7)
runDate --> DATE
Table2
uID --> VARCHAR(7)
bDate --> DATE
Hope this helps.
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.