| Aggregate (cost=3.79..3.80 rows=1 width=32) |
| -> Hash Join (cost=1.02..3.79 rows=1 width=5) |
| Hash Cond: (t.id = r.erp_other_collect_ticket_id) |
| -> Seq Scan on tbl_erp_other_collect_tickets t (cost=0.00..2.59 rows=44 width=4) |
| Filter: (status = ANY ('{2,5}'::integer[])) |
| -> Hash (cost=1.01..1.01 rows=1 width=9) |
| -> Seq Scan on tbl_erp_other_collect_ticket_payments r (cost=0.00..1.01 rows=1 width=9) |
| Filter: (erp_advance_payment_ticket_id = 7) |