1017 - Can't find file: './gmastore/products.frm' (errno: 24)
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=86 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=92 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=143 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=144 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=198 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=238 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=253 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=264 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=290 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=302 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=303 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=344 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=385 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=392 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=407 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=429 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=435 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=473 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=566 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=574 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=593 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=601 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=629 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=650 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=659 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=703 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=726 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=882 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=907 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=917 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=928 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=934 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=948 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=955 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=979 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1009 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1036 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1098 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1112 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1113 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1139 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1173 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1190 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1212 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1216 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1278 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1327 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1312 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1347 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1351 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1407 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1447 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1450 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1460 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1472 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1496 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1501 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1538 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1553 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1566 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1567 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1579 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1645 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1673 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1679 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1689 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1720 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1762 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1767 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1773 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1791 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1803 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1826 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1854 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1868 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1873 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1884 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1913 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1942 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1964 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1975 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1978 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=1982 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2027 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2045 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2098 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2114 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2155 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2161 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2189 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2196 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2219 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2257 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2292 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2296 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2316 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2319 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2323 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2397 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2406 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2409 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2418 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2488 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2499 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2523 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2596 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2636 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2638 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2648 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2661 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2678 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2719 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2721 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2728 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2755 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2756 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2805 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2820 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2891 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2911 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=2933 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3000 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3022 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3024 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3028 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3034 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3041 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3057 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3072 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3090 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3105 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3110 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3146 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3151 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3156 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3177 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3182 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3223 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3228 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3243 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3252 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3253 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3262 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3275 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3282 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3314 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3328 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3356 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3382 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3441 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3444 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3445 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3503 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3553 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3577 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3612 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3616 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3623 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3655 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3667 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3692 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3694 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3698 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3735 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3783 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3792 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3856 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3861 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3882 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3903 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3910 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3914 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=3995 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4035 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4058 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4122 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4236 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4263 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4301 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4302 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4303 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4313 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4351 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4359 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4367 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4378 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4430 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4500 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4529 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4587 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4572 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4573 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4602 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4666 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4678 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4697 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4728 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4730 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4764 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4781 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4788 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4807 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4814 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4866 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4884 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4906 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4949 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4930 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=4997 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5002 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5087 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5130 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5132 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5160 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5168 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5176 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5192 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5226 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5272 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5279 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5348 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5362 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5391 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5394 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5407 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5461 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5476 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5501 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5532 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5537 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5544 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5578 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5579 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5588 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5617 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5623 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5629 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5641 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5656 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5698 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5705 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5735 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5737 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5758 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5761 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5767 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5776 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5798 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5848 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5886 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5888 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5926 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=5983 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6025 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6079 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6088 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6104 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6131 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6162 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6165 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6177 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6189 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6230 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6234 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6242 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6267 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6268 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6270 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6300 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6305 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6359 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6445 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6540 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6596 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6620 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6665 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6682 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6689 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6837 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6859 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6875 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6894 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6896 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6910 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6929 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6935 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6937 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=6965 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7126 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7132 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7185 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7189 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7261 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7320 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7325 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7340 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7365 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7375 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7387 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7399 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7471 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7475 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7538 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7567 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7603 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7634 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7655 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7659 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7670 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7671 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7678 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7690 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7693 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7706 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7741 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7763 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7772 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7844 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7878 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7897 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7913 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=7932 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8031 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8032 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8061 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8062 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8065 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8071 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8092 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8095 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8115 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8119 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8133 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8151 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8155 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8157 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8160 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8166 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8180 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8346 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8358 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8373 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8397 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8431 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8442 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8450 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8460 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8490 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8501 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8516 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8543 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8546 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8562 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8590 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8605 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8610 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8615 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8624 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8698 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8719 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8723 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8726 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8860 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8862 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8864 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8906 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8929 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8936 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8938 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8956 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8968 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=8984 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9012 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9027 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9028 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9036 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9037 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9049 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9057 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9058 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9061 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9090 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9111 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9149 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9160 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9193 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9200 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9203 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9205 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9215 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9233 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9271 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9307 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9310 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9370 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9385 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9432 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9453 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9465 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9508 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9519 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9539 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9549 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9580 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9668 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9678 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9695 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9780 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9789 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9791 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9838 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9839 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9847 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9869 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9890 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9901 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9925 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9949 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9956 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=9991 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10005 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10070 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10117 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10142 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10231 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10294 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10312 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10324 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10358 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10371 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10390 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10401 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10418 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10454 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10470 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10515 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10526 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10541 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10587 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10619 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10687 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10735 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10738 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10815 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10830 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10845 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10852 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10867 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10936 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10952 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10958 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=10959 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11001 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11005 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11063 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11069 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11075 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11080 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11083 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11090 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11105 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11127 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11177 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11217 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11227 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11229 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11238 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11242 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11261 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11263 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11290 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11298 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11311 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11337 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11352 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11353 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11396 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11443 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11510 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11525 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11535 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11550 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11568 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11575 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11581 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11591 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11621 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11639 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11661 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11693 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11700 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11706 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11772 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11827 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11843 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11876 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11915 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11927 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=11976 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12003 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12004 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12015 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12018 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12039 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12066 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12100 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12112 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12129 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12144 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12170 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12183 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12194 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12205 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12238 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12255 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12268 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12325 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12350 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12366 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12386 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12419 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12463 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12477 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12496 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12534 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12538 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12556 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12591 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12594 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12596 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12657 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12667 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12672 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12721 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12743 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12782 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12786 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12811 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12836 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12856 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12858 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12892 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12918 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12931 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12941 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12962 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12971 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=12976 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13000 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13015 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13017 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13021 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13040 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13068 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13108 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13163 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13164 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13170 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13230 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13236 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13238 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13243 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13269 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13276 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13286 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13330 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13378 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13385 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13398 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13427 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13428 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13445 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13475 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13534 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13536 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13560 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13636 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13650 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13656 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13698 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13702 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13712 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13786 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13792 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13803 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13818 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13820 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13833 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13839 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13845 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13856 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13875 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13889 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13911 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13923 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13939 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13950 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=13956 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14015 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14019 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14044 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14059 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14090 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14093 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14128 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14137 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14154 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14156 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14184 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14223 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14242 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14253 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14291 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14302 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14325 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14333 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14376 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14384 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14393 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14414 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14415 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14425 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14482 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14535 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14549 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14551 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14561 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14571 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14604 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14629 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14648 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14689 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14691 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14712 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14742 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14770 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14776 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14778 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14790 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14818 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14819 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14840 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14912 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=14990 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15040 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15045 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15062 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15084 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15085 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15086 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15170 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15279 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15319 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15369 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15472 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15474 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15475 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15537 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15562 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15574 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15575 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15594 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15609 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15618 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15636 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15654 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15709 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15710 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15744 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15746 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15780 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15789 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15848 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15893 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15959 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=15993 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16036 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16045 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16056 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16085 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16086 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16122 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16126 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16139 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16140 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16152 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16156 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16185 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16189 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16203 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16280 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16300 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16303 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16317 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16335 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16337 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16347 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16364 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16373 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16530 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16539 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16619 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16661 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16667 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16668 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16731 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16754 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16756 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16795 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16827 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16853 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16915 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16933 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16944 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16994 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=16999 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=17107 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=17117 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=17148 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=17190 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=17210 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=17238 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=17249 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=17254 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=17277 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=17343 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=17364 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=17396 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=17425 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=17434 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=17453 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=17460 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=17487 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=17488 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=17541 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=17646 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=17760 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=17838 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=17857 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=17930 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=17934 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=18017 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=18039 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=18040 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=18053 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=18070 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=18171 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=18258 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=18277 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=18335 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=18377 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=18384 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=18387 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=18582 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=18637 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=18662 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=18683 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=18775 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=18781 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=18803 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=18847 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=18859 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=19010 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=19032 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=19051 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=19086 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=19121 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=19234 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=19264 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=19271 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=19286 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=19295 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=19311 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=19362 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=19411 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=19572 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=19573 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=19600 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=19642 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=19678 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=19803 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=19856 and op.products_id!='1029' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image
FROM orders_products op
LEFT JOIN products p USING (products_id)
WHERE op.orders_id=19878 and op.products_id!='1029' and p.products_status='1' ORDER BY orders_id desc LIMIT 9
[TEP STOP]
|