Then I would replace sysdate in the above with add_months(sysdate,-3)