Q&A for professional and enthusiast programmers
------------------------- -- @author: Moradnejad -- ------------------------- SELECT p.CommentCount, AVG(CAST(p.Score as Float)) as AvgScore From posts p group by CommentCount order by CommentCount ASC