Find competing answers (Sportsmanship)

7

Please login or register to vote for this query.

(click on this box to dismiss)

Finds questions that have answers competing with yours. http://stackoverflow.com/badges/119/sportsmanship

Code Golf and Coding Challenges

Q&A for programming puzzle enthusiasts and code golfers

SELECT DISTINCT q.Score,
                q.Id              AS [Post Link],
                q.AnswerCount - 1 AS [Competing Answers],
                q.CreationDate
FROM   Posts q
       INNER JOIN Posts a
         ON a.ParentId = q.Id
WHERE  a.OwnerUserId = ##UserId:int##
       AND a.Score > 0
       AND q.AnswerCount > 1
ORDER  BY q.CreationDate DESC

Enter Parameters

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