Aggregate (cost=20.96..20.97 rows=1 width=32) |
-> Hash Join (cost=1.18..20.94 rows=4 width=32) |
Hash Cond: (r.erp_other_income_ticket_id = t.id) |
-> Seq Scan on tbl_erp_other_income_ticket_purchase_contract_settles r (cost=0.00..19.75 rows=4 width=36) |
Filter: (purchase_contract_id = 4042) |
-> Hash (cost=1.10..1.10 rows=7 width=4) |
-> Seq Scan on tbl_erp_other_income_tickets t (cost=0.00..1.10 rows=7 width=4) |
Filter: (status = ANY ('{2,5,1}'::integer[])) |