Find competing answers (Sportsmanship)

5

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

Stack Overflow

Q&A for programmers

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 sites:
loading Hold tight while we fetch your results
:records returned in :time ms:cached