| GroupAggregate (cost=79.24..79.99 rows=23 width=72) |
| Group Key: (to_char((signed_at)::timestamp with time zone, 'YYYY-MM'::text)), (date_part('month'::text, (signed_at)::timestamp without time zone)) |
| -> Sort (cost=79.24..79.30 rows=23 width=46) |
| Sort Key: (to_char((signed_at)::timestamp with time zone, 'YYYY-MM'::text)), (date_part('month'::text, (signed_at)::timestamp without time zone)) |
| -> Seq Scan on tbl_sales_contracts c (cost=0.00..78.72 rows=23 width=46) |
| Filter: (COALESCE(need_analysis, true) AND (signed_at >= '2026-01-01'::date) AND (signed_at <= '2026-12-31'::date)) |