Top duplicate targets

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT TOP 100
  Target.Id AS [Post Link],
  COUNT(PostLinks.PostId) AS DuplicateCount
FROM PostLinks
JOIN Posts AS Target ON PostLinks.RelatedPostId = Target.Id AND LinkTypeId = 3
GROUP BY Target.Id
ORDER BY COUNT(PostLinks.PostId) DESC

Enter Parameters

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