Q&A about the site for Ubuntu users and developers
DECLARE @UserId int = ##UserId## SELECT COUNT(*) AS 'Edits' FROM Posts WHERE PostTypeId > 0 AND LastEditorUserId = @UserId AND OwnerUserId != @UserId