Unanswered questions that have at least one zero-score answer

0

Please login or register to vote for this query.

(click on this box to dismiss)

Questions that can be marked as answered by upvoting one of the available zero-score answers.

Mythology

Q&A for enthusiasts and scholars of mythology and folklore

-- Unanswered questions that have at least one zero-score answer
-- Questions that can be marked as answered by upvoting one of the available zero-score answers.
DECLARE @UserId int = ##UserId##
DECLARE @MinAScore int = ##MinAScore##
SELECT a.Id AS [Post Link], a.Score AS [Score]
FROM Posts a
WHERE a.PostTypeId = 2
      AND a.Score = @MinAScore
      AND a.OwnerUserId=@UserId
      AND a.ClosedDate IS NULL
      AND EXISTS (SELECT q.Id
                  FROM Posts q
                  WHERE q.Id = a.ParentId
                  AND q.AcceptedAnswerId IS NULL
                  AND q.ClosedDate IS NULL)
ORDER BY a.Id ASC

Enter Parameters

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