| Nested Loop (cost=11.77..13.88 rows=1 width=560) |
| -> Hash Join (cost=11.64..12.91 rows=1 width=564) |
| Hash Cond: (eprp.id = r.erp_inventory_lost_product_id) |
| -> Seq Scan on tbl_erp_inventory_lost_products eprp (cost=0.00..1.19 rows=19 width=8) |
| -> Hash (cost=11.62..11.62 rows=1 width=560) |
| -> Seq Scan on tbl_erp_inventory_lost_product_sns r (cost=0.00..11.62 rows=1 width=560) |
| Filter: (erp_inventory_product_sn_id = 86) |
| -> Index Scan using tbl_erp_inventory_losts_pkey on tbl_erp_inventory_losts epr (cost=0.14..0.79 rows=1 width=4) |
| Index Cond: (id = eprp.erp_inventory_lost_id) |
| Filter: (status = ANY ('{1,2}'::integer[])) |