Determines how many edits you have made to questions and answers on the site.
Q&A about the site for members of the workforce navigating the professional setting
-- 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