Nested Loop (cost=0.00..32.69 rows=1 width=40) |
Join Filter: (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 = 4072) |
-> Materialize (cost=0.00..12.77 rows=3 width=12) |
-> Seq Scan on tbl_erp_other_income_tickets t (cost=0.00..12.75 rows=3 width=12) |
Filter: (status = ANY ('{2,5,1}'::integer[])) |