Aggregate (cost=2.28..2.29 rows=1 width=32) |
-> Nested Loop (cost=0.00..2.27 rows=1 width=32) |
Join Filter: (r.erp_other_collect_ticket_id = t.id) |
-> Seq Scan on tbl_erp_other_collect_ticket_approve_borrow_settles r (cost=0.00..1.04 rows=1 width=36) |
Filter: (approve_id = 2243) |
-> Seq Scan on tbl_erp_other_collect_tickets t (cost=0.00..1.21 rows=2 width=4) |
Filter: (status = ANY ('{2,5}'::integer[])) |