Aggregate (cost=32.13..32.14 rows=1 width=32) |
-> Nested Loop (cost=0.00..32.12 rows=1 width=32) |
Join Filter: (r.erp_other_payment_ticket_id = t.id) |
-> Seq Scan on tbl_erp_other_payment_ticket_bank_ins r (cost=0.00..19.75 rows=4 width=36) |
Filter: (erp_bank_id = 3) |
-> Materialize (cost=0.00..12.26 rows=2 width=4) |
-> Seq Scan on tbl_erp_other_payment_tickets t (cost=0.00..12.25 rows=2 width=4) |
Filter: (status = ANY ('{2,5}'::integer[])) |