3°³¿ù Àü µ¥ÀÌÅÍ selectÇϱâ - add_months()
ÀÛ¼ºÀÚ °ü¸®ÀÚ ÀÛ¼º½Ã°£ 2009-06-22 18:00:49
 

select sa_user, to_date(sa_temp_date,'YYYYMMDD') from ssouser.ssomng_view
where sa_temp_date between '20090101' and '20090301';


select * from ssouser.ssomng_view
where sa_temp_date <= to_char(add_months(sysdate ,-3),'yyyymmdd') and sa_temp='71';


¸ñ·Ï | ÀÔ·Â | ¼öÁ¤ | ´äº¯ | »èÁ¦