Q&A for SharePoint enthusiasts
SELECT top 100 p.Id AS [Post Link], p.Title, DATEDIFF(MONTH, p.CreationDate, GETDATE()) AS AgeInMonths FROM Posts p JOIN PostTags pt ON p.Id = pt.PostId JOIN Tags t ON pt.TagId = t.Id WHERE t.TagName = 'java';