Average number of votes on all sites

8

Please login or register to vote for this query.

(click on this box to dismiss)

For each site, show the average number of votes per post (questions and answers alike)

Music Fans Meta

Q&A about the site for music historians, critics, and fans

SELECT
    Count(*) AS [Votes],
    Count(CASE VoteTypeID WHEN 2 THEN 1 END) AS [Upvotes],
    Count(CASE VoteTypeID WHEN 3 THEN 1 END) AS [Downvotes]
  FROM Votes
  WHERE (VoteTypeId = 2 OR VoteTypeId = 3)

Enter Parameters

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