oracle 查询月份差

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