Error: Can't create/write to file 'C:\Windows\TEMP\#sql778_17e50_0.MYI' (Errcode: 28)
Error No: 1
SELECT *, AS name, p.viewed, p.price, p.image, AS stock, (SELECT AVG(r.rating) FROM review r WHERE p.product_id = r.product_id GROUP BY r.product_id) AS rating FROM product p LEFT JOIN product_description pd ON (p.product_id = pd.product_id) LEFT JOIN stock_status ss ON (p.stock_status_id = ss.stock_status_id) LEFT JOIN product_to_category p2c ON (p.product_id = p2c.product_id) WHERE p.status = '1' AND p.date_available <= NOW() AND pd.language_id = '5' AND ss.language_id = '5' AND p2c.category_id = '398' ORDER BY p.price DESC LIMIT 0,50