| GroupAggregate (cost=83.94..87.86 rows=120 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=83.94..84.24 rows=122 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..79.71 rows=122 width=46) |
| Filter: (COALESCE(need_analysis, true) AND (signed_at >= '2025-01-01'::date) AND (signed_at <= '2025-12-31'::date)) |