Q&A about the site for serious players and enthusiasts of chess
SELECT u.Id, SUM(c.Score) AS NumberOfUpvotes, COUNT (c.Id) AS CommentsCounts FROM Users u JOIN Comments c ON c.Userid = u.Id GROUP BY u.Id ORDER BY u.Id