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