find candidates for Necromancer badge

0

Please login or register to vote for this query.

(click on this box to dismiss)

finds questions more than 60 days old having in the specified tag

Stack Overflow

Q&A for programmers

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

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

Enter Parameters

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