Answers deleted between two dates (with tags)

0

Please login or register to vote for this query.

(click on this box to dismiss)

Mathematics

Q&A for people studying math at any level and professionals in related fields

SELECT a.Id,
  url = 'site://q/' + CAST(a.Id AS varchar),
  a.CreationDate, a.DeletionDate, a.Score, q.Tags
FROM PostsWithDeleted a INNER JOIN PostsWithDeleted q ON a.ParentId=q.Id
WHERE (a.PostTypeId = 2) AND 
(a.Deletiondate >= '##Date1?2018-04-01##') AND
(a.Deletiondate <= '##Date2?2018-04-02##')
ORDER BY a.DeletionDate DESC

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results