Q&A for people studying math at any level and professionals in related fields
Select Distinct PostHistory.PostId as [Post Link], url = 'site://posts/' + CAST(PostHistory.PostId AS varchar)+'/revisions', Posts.OwnerUserId as [User Link], Posts.CreationDate, Posts.LastActivityDate, Posts.Tags From PostHistory INNER JOIN Posts ON PostHistory.PostId=Posts.Id where PostHistoryTypeId in (3,6,9) and Text Like '%<##tagName##>%' Order By CreationDate