Questions with no answers and a positive score

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 
  p.Id as [Post Link],
  p.Score,
  p.Title,
  p.CommentCount
  --p.AcceptedAnswerId
  --pt.Name
FROM 
  Posts p
  JOIN PostTypes pt ON pt.Id = p.PostTypeId
WHERE 
  p.Score = 0
  AND p.ClosedDate IS NULL
  AND (p.AnswerCount IS NULL OR p.AnswerCount = 0)
  AND p.AcceptedAnswerId IS NULL
  AND pt.Name = 'Question'
ORDER BY 
  p.AnswerCount ASC,
  p.LastActivityDate ASC

Enter Parameters

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