Questions that can be marked as answered by upvoting one of the available zero-score answers.
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 q.Id AS [Post Link] FROM Posts q WHERE q.PostTypeId = 1 AND q.AcceptedAnswerId IS NULL AND EXISTS (SELECT a.Id FROM Posts a WHERE a.PostTypeId=2 AND a.OwnerUserId=@UserId AND a.Score >= @MinAScore) ORDER BY q.Id ASC