TRUNC(posting_date, 'MON') in both select & group by should do it.