Error: User 'pncTNVCl30i' has exceeded the 'max_questions' resource (current value: 300000)
Error No: 1226
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, ss.name AS stock, (SELECT AVG(r.rating) FROM opn_review r WHERE p.product_id = r.product_id GROUP BY r.product_id) AS rating FROM opn_product p LEFT JOIN opn_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN opn_product_to_store p2s ON (p.product_id = p2s.product_id) LEFT JOIN opn_manufacturer m ON (p.manufacturer_id = m.manufacturer_id) LEFT JOIN opn_stock_status ss ON (p.stock_status_id = ss.stock_status_id) WHERE p.product_id = '1200' AND pd.language_id = '1' AND p2s.store_id = '0' AND ss.language_id = '1' AND p.date_available <= NOW() AND p.status = '1'