Q&A for engineers, producers, editors, and enthusiasts spanning the fields of audio, video, and media creation
--(For future use it is stored on stackexchange here with out my annotation.)
--Selecting the Tags and the PostIds for my inverted Index search
select TagName, PostId, CreationDate, ClosedDate
Tags, PostTags, Posts
--Limited the search by Tags matching in both Tags and PostTags tables and Ids in Posts and PostTags tables.
--Also limited it to posts in 2019 and posts with an answer.
where Tags.Id = PostTags.TagId and Posts.Id = PostId
and Posts.CreationDate <'2019-12-31'
and Posts.ClosedDate > '2019-01-01'
and Posts.AnswerCount > 1
--I sorted the data becuase it was easier for me to look through. This is not neccessary for the excersize.