| Aggregate (cost=35.22..35.23 rows=1 width=32) |
| -> Hash Join (cost=22.31..35.20 rows=4 width=32) |
| Hash Cond: (sci.contract_id = c.id) |
| -> Seq Scan on tbl_sales_contract_invoices sci (cost=0.00..12.10 rows=210 width=36) |
| -> Hash (cost=22.29..22.29 rows=1 width=4) |
| -> Hash Join (cost=11.40..22.29 rows=1 width=4) |
| Hash Cond: (c.project_id = p.id) |
| -> Seq Scan on tbl_sales_contracts c (cost=0.00..10.70 rows=70 width=8) |
| -> Hash (cost=11.38..11.38 rows=2 width=4) |
| -> Seq Scan on tbl_projects p (cost=0.00..11.38 rows=2 width=4) |
| Filter: (created_by = ANY ('{5493,5493}'::integer[])) |