Deleted questions with many links in the given tag

1

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Apps

Q&A for apps, scripts, and development with the Stack Exchange API

SELECT TOP(##num?100##)
  pl.PostId, 
  url = 'site://q/' + CAST(pl.PostId AS varchar),
  COUNT(LinkTypeId) AS [Linked Count],
  linked = 'site://questions/linked/' + CAST(pl.PostId AS varchar),
  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 (Tags LIKE '%##Tagname##%')
GROUP BY pl.PostId, q.Score, q.Tags
ORDER BY COUNT(LinkTypeId) DESC

Enter Parameters

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