Questions where your answer has at least twice the score of the accepted answer which in turn must have a score of 9 or higher
Q&A for professional and enthusiast programmers
-- Populist candidates -- Questions where your answer has at least twice the score of the accepted answer, which in turn must have a score of 9 or higher select q.id as [Post Link], aa.score as [Accepted Score], au.id as [User Link], ya.score as [Your Score] from Posts q, Posts aa, Posts ya, Users au where ya.ownerUserId = ##UserId## and ya.parentId = q.id and q.acceptedAnswerId = aa.id and aa.ownerUserId = au.id and au.id != ##UserId## and ya.score > aa.score