SELECT Trunc(MONTHS_BETWEEN(
to_date(to_char(sysdate, 'yyyy-MM-dd'),'yyyy-MM-dd'),
to_date('1990-09-30', 'yyyy-MM-dd')
) / 12)
from dual;
SELECT Trunc(MONTHS_BETWEEN(
to_date(to_char(sysdate, 'yyyy-MM-dd'),'yyyy-MM-dd'),
to_date('1990-09-30', 'yyyy-MM-dd')
) / 12)
from dual;