Q&A for people interested in the history and origins of science and mathematics
DECLARE @UserId INT = ##UserId##; SELECT COUNT(*) FROM Posts WHERE LastEditDate < DATEADD(month, -6, LastActivityDate) AND OwnerUserId = @UserId