How many comments do I have for each score.
Q&A for professional and enthusiast programmers
LOG(Score, 10) AS score_log10,
ROUND(COUNT(*) / t.cnt * 100.0, 2) as percentage
JOIN (SELECT COUNT(1) AS cnt FROM comments) t
WHERE Score > 0
GROUP BY LOG(Score, 10), t.cnt