Aggregate (cost=21.31..21.32 rows=1 width=32) |
-> Hash Join (cost=1.54..21.30 rows=3 width=32) |
Hash Cond: (r.erp_other_collect_ticket_id = t.id) |
-> Seq Scan on tbl_erp_other_collect_ticket_approve_borrow_settles r (cost=0.00..19.75 rows=4 width=36) |
Filter: (approve_id = 2252) |
-> Hash (cost=1.29..1.29 rows=20 width=4) |
-> Seq Scan on tbl_erp_other_collect_tickets t (cost=0.00..1.29 rows=20 width=4) |
Filter: (status = ANY ('{2,5}'::integer[])) |