| Aggregate (cost=334.45..334.46 rows=1 width=32) |
| -> Hash Join (cost=280.02..334.22 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=279.12..279.12 rows=72 width=4) |
| -> Hash Join (cost=156.33..279.12 rows=72 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=154.68..154.68 rows=132 width=4) |
| -> Bitmap Heap Scan on tbl_projects p (cost=5.30..154.68 rows=132 width=4) |
| Recheck Cond: (created_by = 1001) |
| -> Bitmap Index Scan on tbl_projects_created_by_idx (cost=0.00..5.27 rows=132 width=0) |
| Index Cond: (created_by = 1001) |