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(p.Id) AS TotalPosts, SUM(p.Score) AS TotalUpvotes
FROM Users u
LEFT JOIN Posts p ON u.Id = p.OwnerUserId
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