4. What percentage of posts have no comments attached to them?

0

Please login or register to vote for this query.

(click on this box to dismiss)

Motor Vehicle Maintenance and Repair Meta

Q&A about the site for mechanics and DIY enthusiast owners of cars, trucks, and motorcycles

SELECT (CAST(NoCommentPosts AS float) / TotalPosts) * 100 AS Percentage
FROM (
SELECT COUNT(Posts.id) AS NoCommentPosts
FROM Posts
WHERE CommentCount = 0
) AS t1,
(
SELECT COUNT(Posts.id) AS TotalPosts
FROM Posts
) AS t2

Enter Parameters

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