select extract(year_month from post_date) as flat_mese_anno,......