find candidates for Reversal badge

0

Please login or register to vote for this query.

(click on this box to dismiss)

finds open questions with score <= -5

Stack Overflow

Q&A for programmers

DECLARE @tag VARCHAR(30) = ##TagToSearchIn:string##

SELECT TOP 1000
    Id AS [Post Link],
    Score,
    ViewCount as Views,
    AnswerCount as Answers,
    Body
FROM Posts
WHERE
    AcceptedAnswerId IS NULL
    AND PostTypeId = 1
    AND ClosedDate IS NULL
    AND Score <= -5
    AND Tags LIKE '%<' + LOWER(@tag) + '>%'

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results
:records returned in :time ms:cached