Q&A for people studying math at any level and professionals in related fields
SELECT COUNT(*) AS post_count, SUM(Upvotes), Users.Id FROM Users JOIN Posts ON Users.Id = Posts.OwnerUserId GROUP BY Users.Id