Deleted questions with many links

1

Please login or register to vote for this query.

(click on this box to dismiss)

Software Engineering

Q&A for professionals, academics, and students working within the systems development life cycle

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)
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