GroupAggregate (cost=86.20..86.23 rows=1 width=57) |
Group Key: pt.product_type_id, pt.name |
-> Sort (cost=86.20..86.20 rows=1 width=26) |
Sort Key: pt.product_type_id, pt.name |
-> Hash Join (cost=11.62..86.19 rows=1 width=26) |
Hash Cond: (pt.project_id = tbl_projects.id) |
-> Seq Scan on tbl_project_product_types pt (cost=0.00..65.50 rows=3450 width=30) |
-> Hash (cost=11.61..11.61 rows=1 width=4) |
-> Bitmap Heap Scan on tbl_projects (cost=4.30..11.61 rows=1 width=4) |
Recheck Cond: (client_id = 1661) |
Filter: (project_status = 3) |
-> Bitmap Index Scan on tbl_projects_client_id_idx (cost=0.00..4.29 rows=2 width=0) |
Index Cond: (client_id = 1661) |