Find competing answers (Sportsmanship)

6

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

Software Quality Assurance and Testing Meta

Q&A about the site for software quality control experts, automation engineers, and software testers

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