How many upvotes are there on your site?
Q&A for programmers
-- Answer upvote distribution -- How many upvotes are there on your site? declare @VoteStats table (PostId int, up int) select up, count(*) from ( select PostId, count(*) as up from Votes where VoteTypeId = 2 group by PostId ) a group by up order by up;
Error: looks like you typed in the wrong words - try again