Quién pregunta más, por años

1

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT TOP 10 MAX(Users.DisplayName), Users.Id, COUNT(Posts.Id)
FROM Users LEFT JOIN Posts ON Users.Id = Posts.OwnerUserId
WHERE Posts.PostTypeId = 1
and YEAR(Posts.CreationDate)=##Parameter:int?2018##
GROUP BY Users.Id
ORDER BY COUNT(Posts.Id) DESC;

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results