| Aggregate (cost=15.39..15.40 rows=1 width=72) |
| -> Nested Loop (cost=0.00..15.38 rows=1 width=13) |
| Join Filter: (p.erp_inventory_overflow_id = e.id) |
| -> Seq Scan on tbl_erp_inventory_products p (cost=0.00..14.21 rows=1 width=13) |
| Filter: ((erp_inventory_overflow_id IS NOT NULL) AND (product_id = 2080)) |
| -> Seq Scan on tbl_erp_inventory_overflows e (cost=0.00..1.10 rows=5 width=4) |
| Filter: (status = ANY ('{2,5}'::integer[])) |