| Aggregate (cost=22.52..22.53 rows=1 width=32) |
| -> Hash Join (cost=19.80..22.51 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.55 rows=40 width=4) |
| Filter: (status = ANY ('{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) |