Possible insta-kill Zombies

2

Please login or register to vote for this query.

(click on this box to dismiss)

This query shows all zombies that are easy to kill, aka questions that have at least one 0-scored answer.

Code Review

Q&A for peer programmer code reviews

SELECT 
  p.Id as [Post Link],
  MAX(a.Score) as [Answer Score]
FROM Posts p
JOIN Posts a ON a.ParentId = p.Id
WHERE p.PostTypeId = 1
AND a.PostTypeId = 2
and p.AcceptedAnswerId IS NULL
GROUP BY p.Id
HAVING MAX(a.Score) = 0

Enter Parameters

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