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