Q&A for programmers
-- Questions with No accepted answer where I have the highest score -- SELECT a1.* FROM Posts a1 INNER JOIN Posts q ON q.ID = a1.ParentID WHERE a1.OwnerUserID= ##UserID## AND q.AcceptedAnswerID IS NULL AND (SELECT MAX(p.Score) FROM Posts p WHERE p.ParentID=q.ID AND p.ID<>a1.ID) < a1.Score
Error: looks like you typed in the wrong words - try again