test query

0

Please login or register to vote for this query.

(click on this box to dismiss)

The Workplace Meta

Q&A about the site for members of the workforce navigating the professional setting

SELECT u.DisplayName, u.Id, COUNT(c.Id) AS TotalComments, SUM(c.Score) AS TotalCommentUpvotes
FROM Users u
LEFT JOIN Comments c ON u.Id = c.UserId
GROUP BY u.DisplayName, u.Id
ORDER BY u.Id

Enter Parameters

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