Total number of votes

0

Please login or register to vote for this query.

(click on this box to dismiss)

SELECT Sum(u.UpVotes + u.DownVotes) AS TotalVotes FROM Users u

Stack Overflow

Q&A for professional and enthusiast programmers

-- Total number of votes
-- SELECT Sum(u.UpVotes + u.DownVotes) AS TotalVotes FROM Users u
SELECT Sum(1) AS TotalPosts FROM Posts

Enter Parameters

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