Aggregate (cost=513.95..513.96 rows=1 width=32) |
-> Hash Join (cost=467.74..513.75 rows=80 width=6) |
Hash Cond: (sci.contract_id = c.id) |
-> Seq Scan on tbl_sales_contract_invoices sci (cost=0.00..38.34 rows=1834 width=10) |
-> Hash (cost=466.88..466.88 rows=69 width=4) |
-> Hash Join (cost=235.87..466.88 rows=69 width=4) |
Hash Cond: (c.project_id = p.id) |
-> Seq Scan on tbl_sales_contracts c (cost=0.00..226.84 rows=1584 width=8) |
-> Hash (cost=234.28..234.28 rows=127 width=4) |
-> Bitmap Heap Scan on tbl_projects p (cost=9.26..234.28 rows=127 width=4) |
Recheck Cond: (created_by = 5087) |
-> Bitmap Index Scan on tbl_projects_created_by_idx (cost=0.00..9.23 rows=127 width=0) |
Index Cond: (created_by = 5087) |