Most edited posts per user

0

Please login or register to vote for this query.

(click on this box to dismiss)

Shows the edited posts by user

Cognitive Sciences Meta

Q&A about the site for practitioners, researchers, and students in cognitive science, psychology, neuroscience, and psychiatry

-- Most edited posts per user

SELECT TOP 50 
  Posts.Id as [Post Link],
  Posts.Score,
  sum(case PostHistory.PostHistoryTypeId when 5 then 1 else 0 end) as Edits,
  Posts.CommunityOwnedDate as Wiki
  FROM Posts LEFT JOIN PostHistory
    ON Posts.Id = PostHistory.PostId
  WHERE Posts.OwnerUserId = ##UserID:int##
  GROUP BY Posts.Id, Posts.CommunityOwnedDate, Posts.Score
  ORDER BY Edits desc

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results