PostgreSQL Group por mês e ano

date_trunc('month', col_date)
GutoTrosla