Counts the number of edits a user has made.
Q&A about the site for physical fitness professionals, athletes, trainers, and those providing health-related needs
-- Strunk & White and Copy Editor Progress
-- Counts the number of edits a user has made.
DECLARE @UserId int = ##UserId##
SELECT COUNT(*) FROM Posts
PostTypeId = 2 AND
LastEditorUserId = @UserId AND
OwnerUserId != @UserId