oracle 查询月份差

select to_char(add_months(trunc(sysdate),-1),'yyyymm') from dual;
posted @ 2013-12-18 18:14  ×jokey  阅读(592)  评论(0)    收藏  举报