QUERY PLAN
Seq Scan on tbl_sales_contract_invoices (cost=0.00..12.62 rows=1 width=4)
Filter: (contract_id = 8)