bumpy

0

Please login or register to vote for this query.

(click on this box to dismiss)

Gardening and Landscaping

Q&A for gardeners and landscapers

SELECT q.Id AS [Post Link],
        q.Score,
        q.AnswerCount

FROM Posts q

LEFT JOIN (
    SELECT ans.ParentId, MAX (ans.Score) as Score
    FROM Posts ans
    WHERE ans.ParentId IS NOT NULL
    GROUP BY ans.ParentId
) a ON q.Id = a.ParentId

WHERE q.ClosedDate IS NULL
AND q.DeletionDate IS NULL
AND q.Score >= 0
AND q.AcceptedAnswerId IS NULL
AND a.Score = 0

Enter Parameters

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