Puede usar TIMESTAMPDIFF(unit, datetime_expr1, datetime_expr2)
función:
SELECT TIMESTAMPDIFF(YEAR, '1970-02-01', CURDATE()) AS age
Puede usar TIMESTAMPDIFF(unit, datetime_expr1, datetime_expr2)
función:
SELECT TIMESTAMPDIFF(YEAR, '1970-02-01', CURDATE()) AS age