Questions eligible for bumping by the Community Bot - with my answers

0

Please login or register to vote for this query.

(click on this box to dismiss)

Webmasters

Q&A for pro webmasters

; with zero_cte AS (SELECT q.Id AS qid,
        q.Score AS sco,
        q.AnswerCount AS ACount

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
)

SELECT a.Id AS [Post Link], ACount AS [Answer Count]
FROM zero_cte z INNER JOIN Posts a ON z.qid=a.ParentId
WHERE a.OwnerUserId=##userid##

Enter Parameters

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