Q&A about the site for professional linguists and others with an interest in linguistic research and theory
DECLARE @UserId int = ##UserId:int##; SELECT @UserID as [User Link], PostID as [Post Link], COUNT(*) as Comments FROM Comments WHERE UserId = @UserId GROUP BY PostId ORDER BY Comments DESC