QUERY PLAN
GroupAggregate (cost=208.99..215.79 rows=158 width=104)
Group Key: (to_char((bargain_date)::timestamp with time zone, 'YYYY-MM'::text)), (date_part('month'::text, (bargain_date)::timestamp without time zone))
-> Sort (cost=208.99..209.40 rows=163 width=50)
Sort Key: (to_char((bargain_date)::timestamp with time zone, 'YYYY-MM'::text)), (date_part('month'::text, (bargain_date)::timestamp without time zone))
-> Seq Scan on tbl_projects (cost=0.00..203.00 rows=163 width=50)
Filter: ((bargain_date >= '2025-01-01'::date) AND (bargain_date <= '2025-12-31'::date) AND (project_status = 3))