Percentage of upvoted vs downvoted questions over time

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT CAST(CreationDate AS DATE) d, AVG(CASE WHEN Score < 0 THEN 0.0 ELSE 1.0 END) As PercWellReceived
FROM PostsWithDeleted
WHERE Score <> 0 AND PostTypeId = 1
GROUP BY CAST(CreationDate AS DATE)
ORDER BY CAST(CreationDate AS DATE)

Enter Parameters

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