Deleted answer posted between two dates - in a specific tag

1

Please login or register to vote for this query.

(click on this box to dismiss)

Physics

Q&A for active researchers, academics and students of physics

SELECT a.Id,
  url = 'site://q/' + CAST(a.Id AS varchar),
  a.CreationDate, a.DeletionDate, a.Score, q.Tags
FROM PostsWithDeleted q JOIN PostsWithDeleted a ON q.Id=a.ParentId
WHERE (a.DeletionDate IS NOT NULL) AND (q.PostTypeId=1) AND (a.PostTypeId=2) AND 
  (q.Tags LIKE '%##Tagname?nested-radicals##%') AND 
  (a.CreationDate >= '##Date1?2018-01-01##') AND (a.CreationDate <= '##Date2?2019-01-01##')

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results