| Aggregate (cost=3.85..3.86 rows=1 width=32) |
| -> Hash Join (cost=1.02..3.85 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.65 rows=45 width=4) |
| Filter: (status = ANY ('{1,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) |