Populist candidates; your answer outscores the accepted answer


Please login or register to vote for this query.

(click on this box to dismiss)

Questions where your answer has more than twice the score of the accepted answer which in turn must have a score of 11 or higher

Internet of Things Meta

Q&A about the site for builders and users of networked sensors and control devices in the contexts of smart homes, industry automation, or environmental sensors

    Question.Id as [Post Link],
    AcceptedAnswer.Score as [Accepted Score],
    YourAnswer.Score as [Your Score],
    CONVERT(DECIMAL(4,2), CAST(YourAnswer.Score as float) / AcceptedAnswer.score) as ScoreRatio,
    CASE when AcceptedAnswer.Score >= 9 then 0 else 9-AcceptedAnswer.Score END
    + CASE
          when YourAnswer.Score >= AcceptedAnswer.Score*2 then 0
          else (AcceptedAnswer.Score*2 - YourAnswer.Score)
    as VotesNeeded
    Posts Question,
    Posts AcceptedAnswer,
    Posts YourAnswer,
    Users AcceptedUser
    YourAnswer.OwnerUserId = ##UserId##
    and YourAnswer.ParentId = Question.Id
    and Question.AcceptedAnswerId = AcceptedAnswer.Id
    and AcceptedAnswer.OwnerUserId = AcceptedUser.Id
    and AcceptedAnswer.Id != ##UserId##
    and YourAnswer.Score > AcceptedAnswer.Score
    and AcceptedAnswer.Score > 0
order by CAST(YourAnswer.Score as float) / AcceptedAnswer.score DESC

Enter Parameters

Switch to main site
loading Hold tight while we fetch your results