| Aggregate (cost=335.69..335.70 rows=1 width=32) |
| -> Hash Join (cost=281.25..335.46 rows=90 width=6) |
| Hash Cond: (sci.contract_id = c.id) |
| -> Seq Scan on tbl_sales_contract_invoices sci (cost=0.00..45.33 rows=2133 width=10) |
| -> Hash (cost=280.33..280.33 rows=73 width=4) |
| -> Hash Join (cost=157.54..280.33 rows=73 width=4) |
| Hash Cond: (c.project_id = p.id) |
| -> Seq Scan on tbl_sales_contracts c (cost=0.00..118.25 rows=1725 width=8) |
| -> Hash (cost=155.88..155.88 rows=133 width=4) |
| -> Bitmap Heap Scan on tbl_projects p (cost=5.31..155.88 rows=133 width=4) |
| Recheck Cond: (created_by = 1001) |
| -> Bitmap Index Scan on tbl_projects_created_by_idx (cost=0.00..5.28 rows=133 width=0) |
| Index Cond: (created_by = 1001) |