| GroupAggregate (cost=117.47..117.66 rows=6 width=53) |
| Group Key: ppt.product_type_id, ppt.name |
| -> Sort (cost=117.47..117.48 rows=6 width=26) |
| Sort Key: ppt.product_type_id, ppt.name |
| -> Hash Join (cost=39.55..117.39 rows=6 width=26) |
| Hash Cond: (ppt.project_id = p.id) |
| -> Seq Scan on tbl_project_product_types ppt (cost=0.00..69.44 rows=3198 width=30) |
| Filter: (budget IS NOT NULL) |
| -> Hash (cost=39.47..39.47 rows=6 width=4) |
| -> Bitmap Heap Scan on tbl_projects p (cost=4.36..39.47 rows=6 width=4) |
| Recheck Cond: (client_id = 982) |
| Filter: (project_status = 3) |
| -> Bitmap Index Scan on tbl_projects_client_id_idx (cost=0.00..4.36 rows=11 width=0) |
| Index Cond: (client_id = 982) |