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

    技术2022-07-11  85

    months_between函数 

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

    Processed: 0.011, SQL: 9