📅  最后修改于: 2022-03-11 15:05:12.059000             🧑  作者: Mango
select floor(months_between(date '2012-10-10', date '2011-10-10') /12) from dual;
select floor(months_between(date '2012-10-9' , date '2011-10-10') /12) from dual;