bumpy

0

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 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 main site
loading Hold tight while we fetch your results