Most frequently asked (not answered) questions


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 ##Number## a.Id AS [Post Link], b.NumberOfDuplicates
FROM Posts AS a
  (SELECT Posts.Id, COUNT(PostLinks.RelatedPostId) AS NumberOfDuplicates
  FROM Posts, PostLinks
  WHERE Posts.Id = PostLinks.RelatedPostId
  AND PostLinks.LinkTypeId = 3
  GROUP BY Posts.Id) AS b 
ON a.Id = b.Id
WHERE Tags LIKE '%python%'
AND Tags LIKE '%regex%'
ORDER BY b.NumberOfDuplicates DESC;

-- Number: Number of posts to show:

Enter Parameters

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