SELECT u.Id, DisplayName, Count(c.Id) numComments, Sum(Sc...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Bicycles

Q&A for people who build and repair bicycles, people who train cycling, or commute on bicycles

SELECT
u.Id, DisplayName, Count(c.Id) numComments, Sum(Score) totalCommentUpVotes 
FROM users u
JOIN comments c
ON u.Id = c.UserId
GROUP BY u.Id,DisplayName
ORDER BY totalCommentUpVotes DESC

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results