Q&A for professional mathematicians
Select PostHistory.PostId as [Post Link], PostHistory.UserId as [User Link], PostHistory.CreationDate, Posts.LastActivityDate From PostHistory INNER JOIN Posts ON PostHistory.PostId=Posts.Id where PostHistoryTypeId in (3,6,9) and Text Like '%<##tagName##>%' Order By CreationDate