Questions with 20 or more answers (including deleted answers)

1

Please login or register to vote for this query.

(click on this box to dismiss)

The Workplace Meta

Q&A about the site for members of the workforce navigating the professional setting

SELECT
  p.Id AS [Post Link],
  COUNT(a.Id) AS Answers
FROM Posts p
LEFT JOIN PostsWithDeleted a
  ON (p.Id = a.ParentId AND a.PostTypeId = 2)
WHERE p.DeletionDate IS NULL
GROUP BY p.Id
HAVING COUNT(a.Id) >= 20
ORDER BY COUNT(a.Id) DESC

Enter Parameters

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