Questions with many comments but no accepted answer


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 q.Id, q.Title, 
  (SELECT COUNT(*) AS Comments FROM Comments qC WHERE q.Id = qC.PostId) AS CommentCount
FROM Posts q
WHERE q.AcceptedAnswerId IS NULL
   AND q.PostTypeId = 1
   AND CommentCount > 10
GROUP BY q.Id, q.Title
ORDER BY CommentCount DESC

Enter Parameters

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