Determines how many edits you have made to questions and answers on the site.
Q&A for anime and manga fans
-- Enter Query Title -- Enter Query Description DECLARE @UserId int = ##UserId## SELECT COUNT(*) FROM PostHistory LEFT JOIN Posts ON Posts.Id = PostHistory.PostId WHERE PostHistory.UserId = @UserId AND PostHistory.PostHistoryTypeId >= 4 AND PostHistory.PostHistoryTypeId <= 9