1017 - Can't find file: './victoriandb/products_description.frm' (errno: 24)
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=33 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=49 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=55 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=70 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=79 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=88 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=90 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=91 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=108 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=110 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=137 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=142 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=143 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=183 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=187 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=188 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=197 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=202 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=207 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=231 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=252 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=293 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=297 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=366 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=377 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=387 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=394 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=398 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=407 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=413 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=424 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=453 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=463 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=476 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=496 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=497 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=509 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=515 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=552 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=560 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=569 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=572 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=586 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=607 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=609 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=620 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=635 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=679 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=722 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=724 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=731 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=769 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=794 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=820 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=798 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=830 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=846 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=868 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=871 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=886 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=893 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=906 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=931 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=972 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=978 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1019 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1029 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1049 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1066 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1095 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1113 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1161 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1185 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1199 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1204 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1216 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1226 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1229 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1236 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1237 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1279 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1287 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1289 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1290 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1299 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1313 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1319 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1350 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1374 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1378 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1394 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1404 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1414 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1424 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1444 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1457 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1459 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1465 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1469 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1471 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1480 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1564 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1566 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1568 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1604 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1606 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1609 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1618 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1655 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1656 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1670 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1678 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1686 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1701 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1727 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1737 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1775 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1814 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1820 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1843 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1849 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1850 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1885 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1923 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1945 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1949 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1960 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=1978 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2004 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2025 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2064 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2075 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2080 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2081 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2111 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2119 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2129 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2148 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2176 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2196 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2218 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2254 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2325 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2339 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2344 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2363 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2390 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2404 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2409 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2423 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2449 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2455 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2456 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2464 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2490 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2502 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2514 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2522 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2533 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2537 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2558 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2604 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2616 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2627 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2641 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2645 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2646 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2654 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2681 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2682 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2728 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2747 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2773 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2786 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2814 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2831 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2834 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2839 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2841 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2862 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2888 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2899 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=2953 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3045 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3065 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3066 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3080 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3082 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3111 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3130 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3172 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3205 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3209 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3223 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3233 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3263 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3264 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3287 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3293 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3321 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3339 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3345 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3395 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3414 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3424 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3439 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3441 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3473 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3492 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3508 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3515 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3523 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3534 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3543 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3584 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3596 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3607 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3643 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3652 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3664 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3685 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3737 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3738 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3744 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3753 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3754 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3763 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3794 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3804 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3812 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3882 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3900 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3909 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3917 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=3989 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4028 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4071 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4101 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4127 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4194 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4214 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4275 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4281 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4342 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4380 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4386 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4393 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4443 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4469 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4474 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4481 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4496 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4515 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4520 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4566 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4568 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4579 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4597 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4633 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4692 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4700 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4712 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4729 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4774 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4788 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4791 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4805 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4826 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4855 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4860 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4878 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4930 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4934 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4963 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4972 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4976 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4987 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4993 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4997 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=4999 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5016 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5072 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5097 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5174 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5250 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5258 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5265 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5274 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5289 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5291 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5296 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5375 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5396 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5419 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5450 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5498 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5500 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5527 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5560 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5589 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5625 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5627 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5676 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5709 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5714 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5724 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5741 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5748 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5756 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5808 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5810 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5828 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5875 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5885 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5908 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=5957 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6040 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6060 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6063 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6090 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6091 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6093 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6133 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6140 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6153 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6176 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6181 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6182 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6183 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6199 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6205 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6225 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6226 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6244 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6262 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6295 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6364 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6374 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6503 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6517 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6595 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6605 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6609 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6639 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6642 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6654 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6683 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6688 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6710 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6713 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6760 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6772 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6783 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6788 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6807 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6824 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6828 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6844 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6898 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6923 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6966 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=6999 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7010 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7030 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7035 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7080 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7093 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7105 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7111 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7144 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7255 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7290 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7322 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7330 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7378 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7422 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7493 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7500 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7537 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7550 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7591 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7645 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7653 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7656 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7675 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7683 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7685 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7686 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7712 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7771 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7781 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7787 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7819 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7846 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7866 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7887 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7899 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7922 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7939 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7949 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=7967 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=8018 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=8060 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=8105 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=8135 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=8167 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=8205 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=8236 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=8249 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=8265 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=8291 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=8503 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=8638 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=8712 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=8734 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=8744 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=8772 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=8795 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=8926 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9023 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9060 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9078 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9083 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9124 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9132 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9145 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9148 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9164 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9185 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9228 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9269 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9347 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9424 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9427 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9442 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9493 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9501 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9541 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9545 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9625 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9636 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9641 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9644 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9651 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9716 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9737 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9797 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9842 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9863 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9868 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9900 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9910 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9923 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9924 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9931 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=9989 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=10084 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=10104 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=10112 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=10124 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=10138 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=10149 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=10159 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=10163 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=10166 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' UNION
SELECT op.orders_id, op.products_id, p.products_image,p.products_quantity,p.products_price,
p.products_tax_class_id,pd.products_name,pd.products_description
FROM orders_products op
LEFT JOIN products p USING (products_id)
LEFT JOIN products_description pd USING (products_id)
WHERE op.orders_id=10175 and p.products_id=pd.products_id and op.products_id!='187' and p.products_status='1' ORDER BY orders_id desc LIMIT 6
[TEP STOP]
|