GroupAggregate (cost=327.59..327.61 rows=1 width=12) |
Group Key: p.project_status |
-> Sort (cost=327.59..327.60 rows=1 width=4) |
Sort Key: p.project_status |
-> Bitmap Heap Scan on tbl_projects p (cost=35.48..327.58 rows=1 width=4) |
Recheck Cond: (created_by = ANY ('{1004,1005,1013,5087}'::integer[])) |
Filter: ((project_status <> 1) AND (bargain_date >= '2025-08-04'::date) AND (bargain_date <= '2025-08-04'::date)) |
-> Bitmap Index Scan on tbl_projects_created_by_idx (cost=0.00..35.48 rows=849 width=0) |
Index Cond: (created_by = ANY ('{1004,1005,1013,5087}'::integer[])) |