lr19-6

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 DisplayName, c
FROM Users u JOIN (SELECT OwnerUserId, COUNT(OwnerUserId) c
 FROM Posts
 WHERE YEAR(CreationDate) = 2017
 GROUP BY OwnerUserId) o ON (u.Id=o.OwnerUserId)
WHERE c = (SELECT MAX(o.c)
FROM (SELECT OwnerUserId, COUNT(OwnerUserId) c
 FROM Posts
 WHERE YEAR(CreationDate) = 2017
 GROUP BY OwnerUserId) o);

Enter Parameters

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