Comment Score distribution

0

Please login or register to vote for this query.

(click on this box to dismiss)

How many comments do I have for each score.

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT
  ROUND(LOG(CAST(Score AS FLOAT), 10), 2) AS ScoreLogTen,
  ROUND(LOG(CAST(Count(*) AS FLOAT), 10), 2) AS CommentCountLogTen
FROM Comments
WHERE Score > 0
GROUP BY Score
ORDER BY ScoreLogTen DESC

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results