Shamlessly copied from http://odata.stackexchange.com/stackoverflow/s/240/how-many-edits-until-strunk-white
Q&A about the site for serious players and enthusiasts of chess
-- How Many Edits Until Strunk & White -- Shamlessly copied from http://odata.stackexchange.com/stackoverflow/s/240/how-many-edits-until-strunk-white DECLARE @UserId int = 318425 SELECT 100 - COUNT(*) AS 'Edits To Strunk & White' FROM Posts WHERE PostTypeId = 1 AND LastEditorUserId = @UserId AND OwnerUserId != @UserId