| Aggregate (cost=4.14..4.15 rows=1 width=32) |
| -> Hash Join (cost=1.44..4.13 rows=1 width=32) |
| Hash Cond: (t.id = r.erp_other_collect_ticket_id) |
| -> Seq Scan on tbl_erp_other_collect_tickets t (cost=0.00..2.55 rows=36 width=4) |
| Filter: ((bank_settle_at IS NOT NULL) AND (status = ANY ('{2,5}'::integer[]))) |
| -> Hash (cost=1.43..1.43 rows=1 width=36) |
| -> Seq Scan on tbl_erp_other_collect_ticket_bank_outs r (cost=0.00..1.43 rows=1 width=36) |
| Filter: (erp_bank_id = 1) |