PostgreSQL, где DateTrunc Месяц и год равны

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