Q&A for professional and enthusiast programmers
-- Enter Query Title -- Enter Query Description SELECT TOP 10 U.id AS [User Link] FROM Users U JOIN (SELECT OwnerUserId, Cnt = Count(*) FROM POSTS WHERE PostTypeId = 2 GROUP BY OwnerUserId) A ON U.id = A.OwnerUserId GROUP BY U.id