| Aggregate (cost=22.58..22.59 rows=1 width=32) |
| -> Hash Join (cost=19.80..22.57 rows=4 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.60 rows=41 width=4) |
| Filter: (status = ANY ('{1,2,5}'::integer[])) |
| -> Hash (cost=19.75..19.75 rows=4 width=36) |
| -> Seq Scan on tbl_erp_other_collect_ticket_payments r (cost=0.00..19.75 rows=4 width=36) |
| Filter: (erp_advance_payment_ticket_id = 3) |