Q&A about the site for power users of web applications
SELECT Users.Id AS UserId, Users.DisplayName, COUNT(Posts.Id) AS TotalPosts, SUM(Posts.Score) AS TotalUpvotes FROM Posts JOIN Users ON Posts.OwnerUserId = Users.Id GROUP BY Users.Id, Users.DisplayName ORDER BY Users.Id;