Q&A for medical specialists, students, dietitians, and anyone with health-related questions
--select t.TagName, PT.PostId
--from Tags t, PostTags PT
--where t.Id = PT.TagId
--Group by t.TagName
--SELECT PostId, TagId
--Group by TagId
select count(PostId) as Rate, TagName
Tags, PostTags, Posts
where Tags.Id = PostTags.TagId and Posts.Id = PostId
and Posts.CreationDate < '2019-07-01'
and Posts.CreationDate > '2018-01-01'
group by TagName