Q&A for professional and enthusiast programmers
-- Enter Query Title -- Enter Query Description SELECT top 100 Id AS [User Link], (SELECT COUNT(*) FROM Posts WHERE Posts.OwnerUserId = Users.Id AND PostTypeId = 2 ) AS [Total Posts], CASE WHEN Users.Reputation > 1000 THEN (SELECT COUNT(Score) FROM Posts WHERE Posts.OwnerUserId = Users.Id AND PostTypeId = 2 ) ELSE 1 END AS [Total Score] FROM Users ORDER BY [Total Posts] DESC