PostgreSQL onde o mês e o ano de DateTrenc são iguais

... WHERE date_trunc('month', b.col) = date_trunc('month', a.col);
GutoTrosla