Deleted questions with many links between two dates

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 TOP(##num?100##)
  pl.PostId, 
  url = 'site://q/' + CAST(pl.PostId AS varchar),
  linked = 'site://questions/linked/' + CAST(pl.PostId AS varchar),
  COUNT(LinkTypeId) AS [Linked Count],
  q.Score, q.Tags
FROM PostLinks pl INNER JOIN PostsWithDeleted q ON pl.PostId=q.Id
WHERE (q.DeletionDate IS NOT NULL) AND (q.PostTypeId=1)
  AND (Deletiondate >= '##Date1?2019-01-01##') AND (Deletiondate <= '##Date2?2020-01-01##') 
GROUP BY pl.PostId, q.Score, q.Tags
ORDER BY COUNT(LinkTypeId) DESC

Enter Parameters

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