QUERY PLAN
GroupAggregate (cost=223.15..223.84 rows=17 width=84)
Group Key: created_by
-> Sort (cost=223.15..223.20 rows=22 width=22)
Sort Key: created_by
-> Seq Scan on tbl_projects p (cost=0.00..222.66 rows=22 width=22)
Filter: ((bargain_date >= '2025-01-01'::date) AND (bargain_date < '2026-01-01 00:00:00'::timestamp without time zone) AND (project_status = 3) AND (created_by = ANY ('{1001,1004,1005,1013,5087,5295,5300,5311,5329,5332,5420}'::integer[])))