Vous pouvez utiliser TIMESTAMPDIFF(unit, datetime_expr1, datetime_expr2)
fonction :
SELECT TIMESTAMPDIFF(YEAR, '1970-02-01', CURDATE()) AS age
Vous pouvez utiliser TIMESTAMPDIFF(unit, datetime_expr1, datetime_expr2)
fonction :
SELECT TIMESTAMPDIFF(YEAR, '1970-02-01', CURDATE()) AS age