QUERY PLAN
Aggregate (cost=262.18..262.19 rows=1 width=32)
-> Sort (cost=249.54..251.65 rows=842 width=834)
Sort Key: p.bargain_date DESC
-> Seq Scan on tbl_projects p (cost=0.00..208.63 rows=842 width=834)
Filter: ((project_status = 3) AND (created_by = ANY ('{1001,1004,1005,1013,5087,5295,5300,5311,5329,5332,5420}'::integer[])))