I have a table of Users on a MySQL database, which includes a field, BirthDate.
I would like to be able to:
- Calculate the User's age, based on the BirthDate, to return in a query, and
- Filter by that calculated age (i.e.: Find everyone from 18-25).
I have found various examples of returning the age in a query, but I haven't found the best way to filter by age, age range, etc.