Puoi utilizzare TIMESTAMPDIFF() funzione: SELECT TIMESTAMPDIFF(YEAR, dob, CURRENT_DATE) AS age FROM dle_users