Preguntas y respuestas sobre el sitio para programadores y profesionales de la informática
SELECT url = 'site://q/' + CAST(pwd.Id AS varchar), DeletionDate, ClosedDate, Tags AS [Tags] FROM PostsWithDeleted pwd JOIN PostHistory ph ON ph.PostId=pwd.Id WHERE DeletionDate >= '2020-06-22' AND PostTypeId = 1 AND CHARINDEX(##TagName:string##, Tags) > 0 AND ph.CreationDate IS NOT NULL ORDER BY DeletionDate DESC