Q&A about the site for teachers and students of the Esperanto language
SELECT COUNT(*) AS TotalPosts, SUM(CASE WHEN CommentCount = 0 THEN 1 ELSE 0 END) AS PostsWithoutComments, FORMAT(CAST(SUM(CASE WHEN CommentCount = 0 THEN 1 ELSE 0 END) AS DECIMAL) * 100 / COUNT(*), 'N2') + '%' AS PercentageWithoutComments FROM Posts;