SELECT COUNT(*) AS post_count, SUM(Upvotes) AS num_upvote...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Mathematics

Q&A for people studying math at any level and professionals in related fields

SELECT COUNT(*) AS post_count, SUM(Upvotes) AS num_upvotes, Users.Id FROM
Users JOIN Posts
ON Users.Id = Posts.OwnerUserId
GROUP BY Users.Id 
ORDER BY Users.Id

Enter Parameters

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