| Aggregate (cost=272.40..272.41 rows=1 width=32) |
| -> HashAggregate (cost=212.06..250.85 rows=1724 width=36) |
| Group Key: sc.id |
| -> Hash Right Join (cost=139.80..190.74 rows=2132 width=17) |
| Hash Cond: (sci.contract_id = sc.id) |
| -> Seq Scan on tbl_sales_contract_invoices sci (cost=0.00..45.33 rows=2133 width=10) |
| -> Hash (cost=118.25..118.25 rows=1724 width=15) |
| -> Seq Scan on tbl_sales_contracts sc (cost=0.00..118.25 rows=1724 width=15) |
| Filter: including_tax |