Q&A about the site for Drupal developers and administrators
-- Enter Query Title 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.score > 0 and ya.parentId = q.id and q.acceptedAnswerId = aa.id and aa.ownerUserId = au.id and au.id != ##UserId## and aa.score > 0 and ya.score > aa.score * 2 -- Enter Query Description