Aggregate (cost=73.64..73.65 rows=1 width=32) |
-> Hash Join (cost=2.58..73.49 rows=59 width=5) |
Hash Cond: (t.id = r.erp_payment_ticket_id) |
-> Seq Scan on tbl_erp_payment_tickets t (cost=0.00..62.20 rows=2167 width=4) |
Filter: (is_payment_settle AND (status = ANY ('{2,5}'::integer[]))) |
-> Hash (cost=1.84..1.84 rows=59 width=9) |
-> Seq Scan on tbl_erp_payment_ticket_bank_outs r (cost=0.00..1.84 rows=59 width=9) |
Filter: (erp_bank_id = 1) |