Deleted questions with restriction on creation date and deletion date

1

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for programmers

SELECT Id,
  url = 'site://q/' + CAST(Id AS varchar),
  CreationDate, DeletionDate, Score, Tags
FROM PostsWithDeleted
WHERE (PostTypeId = 1) AND
(Deletiondate >= '##Date1?2018-04-01##') AND
(Deletiondate <= '##Date2?2018-05-01##') AND
(Creationdate >= '##Date3?2016-01-01##') AND
(Creationdate <= '##Date4?2017-01-01##')
ORDER BY DeletionDate DESC

Enter Parameters

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