select CommentCount, count(*) * 100.0 / (select count(...


Please login or register to vote for this query.

(click on this box to dismiss)


Q&A for those using, extending or developing Emacs

-- What percentage of posts have no comments attached to them?

--Select count(Id)
--From Posts
--where CommentCount = '0'

--select count(Id)
--from Posts

select CommentCount, count(*) * 100.0 / (select count(*) from Posts) as Percentage_No_Comments
from Posts
where CommentCount = '0'
group by CommentCount;

Enter Parameters

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