oracle 比较两个日期相差几个月

    技术2022-07-11  99

    months_between函数 

    select months_between(日期1,日期2)m from table;

    Processed: 0.009, SQL: 9