Error: MySQL server has gone away
Error No: 2006
SELECT AVG(rating) AS total FROM review WHERE status = '1' AND product_id = '349' GROUP BY product_id