QUERY PLAN
GroupAggregate (cost=232.11..232.66 rows=21 width=44)
Group Key: created_by
-> Sort (cost=232.11..232.18 rows=29 width=9)
Sort Key: created_by
-> Seq Scan on tbl_projects (cost=0.00..231.40 rows=29 width=9)
Filter: ((project_status = 2) AND (created_by = ANY ('{5332,1001,5087,5467,5300,5311,5295,1013,5476,1004,1005,5449}'::integer[])))