An error ocurred at query SELECT AVG(rating) as rating FROM default_comments WHERE listing_id='299290' GROUP BY listing_id