DECLARE @UserId int = ##UserId## SELECT COUNT(*) AS 'Edi...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Ask Ubuntu Meta

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

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results