表示上月的SQL语句?当前月的上月,SQL语句?[解决办法]select to_number(to_char(sysdate, MM ))-1 month fr
表示上月的SQL语句?
当前月的上月,SQL语句?
[解决办法]
select to_number(to_char(sysdate, 'MM '))-1 month from dual;
[解决办法]
select add_months(sysdate,-1) from dual
表示上月的SQL语句?
当前月的上月,SQL语句?
[解决办法]
select to_number(to_char(sysdate, 'MM '))-1 month from dual;
[解决办法]
select add_months(sysdate,-1) from dual