I used the age()
function, below, to calculate the age, from a date stored in a table:
select pessoa.*, age(data_nascimento) from pessoa;
Returned the range: 27 years 9 months 9 days
Is it possible to round this range to only 27 years or 27 years ?
The DBMS used: PostgreSQL.