select * from tbname where trunc(dtcol)<trunc(add_months(sysdate,-3));
select * from table where trunc(col_date,'mm')<trunc(add_months(sysdate,-3),'mm');也可以 select * from table where to_char(col_date,'yyyymm')<to_char(add_months(sysdate,-3),'yyyymm');
-------------------
2002.09.20 11:06:13已用时间: 00: 00: 00.10
select * from table where to_char(col_date,'yyyymm')<to_char(add_months(sysdate,-3),'yyyymm');