Q&A for people studying math at any level and professionals in related fields
SELECT COUNT(*) AS comment_count, SUM(Score) AS num_upvotes, Users.Id FROM Users JOIN Comments ON Users.Id = Comments.UserId GROUP BY Users.Id ORDER BY Users.Id