QUERY PLAN
Aggregate (cost=237.68..237.69 rows=1 width=8)
-> Sort (cost=230.37..231.59 rows=487 width=861)
Sort Key: p.bargain_date DESC
-> Seq Scan on tbl_projects p (cost=0.00..208.63 rows=487 width=861)
Filter: ((project_status = 5) AND (created_by = ANY ('{1001,1004,1005,1013,5087,5295,5300,5311,5329,5332,5420}'::integer[])))