| Nested Loop Left Join (cost=2.41..23.68 rows=1 width=142) |
| Join Filter: (eip.erp_inventory_disassemble_id = eid.id) |
| Filter: ((eip.erp_inventory_disassemble_id IS NULL) OR (eid.status <> 6)) |
| -> Nested Loop Left Join (cost=2.41..22.56 rows=1 width=146) |
| Filter: ((eip.erp_inventory_build_id IS NULL) OR (eib.status <> 6)) |
| -> Nested Loop Left Join (cost=2.28..21.59 rows=1 width=150) |
| Filter: ((eip.erp_inventory_overflow_id IS NULL) OR (eio.status <> 6)) |
| -> Nested Loop Left Join (cost=2.14..20.63 rows=1 width=154) |
| Filter: ((eip.erp_purchase_gift_id IS NULL) OR (epg.status <> 6)) |
| -> Nested Loop Left Join (cost=2.00..19.66 rows=1 width=158) |
| Filter: ((eip.erp_purchase_inbound_id IS NULL) OR (epi.status <> 6)) |
| -> Hash Join (cost=1.86..17.62 rows=1 width=162) |
| Hash Cond: (eip.id = eipsn.erp_inventory_product_id) |
| -> Seq Scan on tbl_erp_inventory_products eip (cost=0.00..15.64 rows=15 width=24) |
| Filter: (product_id = 2269) |
| -> Hash (cost=1.81..1.81 rows=4 width=142) |
| -> Seq Scan on tbl_erp_inventory_product_sns eipsn (cost=0.00..1.81 rows=4 width=142) |
| Filter: ((sn)::text = ANY ('{sdfsdfds.,sdfsdfsdf,sdf,sd}'::text[])) |
| -> Index Scan using tbl_erp_purchase_inbounds_pkey on tbl_erp_purchase_inbounds epi (cost=0.14..2.03 rows=1 width=6) |
| Index Cond: (eip.erp_purchase_inbound_id = id) |
| -> Index Scan using tbl_erp_purchase_gifts_pkey on tbl_erp_purchase_gifts epg (cost=0.14..0.95 rows=1 width=6) |
| Index Cond: (eip.erp_purchase_gift_id = id) |
| -> Index Scan using tbl_erp_inventory_overflows_pkey on tbl_erp_inventory_overflows eio (cost=0.14..0.95 rows=1 width=6) |
| Index Cond: (eip.erp_inventory_overflow_id = id) |
| -> Index Scan using tbl_erp_inventory_builds_pkey on tbl_erp_inventory_builds eib (cost=0.14..0.95 rows=1 width=6) |
| Index Cond: (eip.erp_inventory_build_id = id) |
| -> Seq Scan on tbl_erp_inventory_disassembles eid (cost=0.00..1.05 rows=5 width=6) |