I have a MySQL database with thousands of member records. Each one has a birthdate which is a simple string like "2005-11-01" (yyyy-mm-dd)
I want to query the database and get an idea of the AGE of my members. I'd love to see how many members I have at each age in the db. So I'd love some output like:
age count
--- -----
18 619
19 1321
20 15112
etc.
How can I do this? (I'd love to do it all in MySQL but we can add some PHP, Perl or Python if it's easier)