finds questions more than 60 days old having in the specified tag
Q&A for those who study, teach, research and apply economics and econometrics
DECLARE @tag VARCHAR(30) = ##tag:string## SELECT TOP 1000 Id AS [Post Link], Score, ViewCount as Views, AnswerCount as Answers, Body, CreationDate FROM Posts WHERE AcceptedAnswerId IS NULL AND PostTypeId = 1 AND CreationDate < GETDATE() - 60 AND ClosedDate IS NULL AND Tags LIKE '%<' + LOWER(@tag) + '>%'