How many of my comments have scores of 5 and higher, thus qualifying for the Pundit badge?
Q&A for linguists, teachers, and students wanting to discuss the finer points of the Latin language
-- What's my Pundit badge progress? -- How many of my comments have scores of 5 and higher, thus qualifying for the Pundit badge? DECLARE @UserId INT = ##UserId##; SELECT Score, Text, PostId AS [Post Link] FROM Comments WHERE UserId = @UserId AND Score >= 5 ORDER BY Score DESC, Text ASC;