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