select to_char(fapplytm,'YYYY-MM'),count(*) from ilapplym where fapplytm > add_months(to_date(SYSDATE),-6) group by to_char(fapplytm,'YYYY-MM');