| Aggregate (cost=125.97..125.98 rows=1 width=32) |
| -> Hash Join (cost=8.62..125.49 rows=192 width=6) |
| Hash Cond: (t.id = r.erp_payment_ticket_id) |
| -> Seq Scan on tbl_erp_payment_tickets t (cost=0.00..103.39 rows=2311 width=4) |
| Filter: (is_payment_settle AND (status = ANY ('{2,5}'::integer[]))) |
| -> Hash (cost=6.19..6.19 rows=195 width=10) |
| -> Seq Scan on tbl_erp_payment_ticket_bank_outs r (cost=0.00..6.19 rows=195 width=10) |
| Filter: (erp_bank_id = 1) |