Posts that can earn you "Necromancer"


Please login or register to vote for this query.

(click on this box to dismiss)

Returns a list of questions for a given user that have 3 upvotes and are at least 60 days old, meaning the next one or two upvotes on any of the posts will earn the user a Necromancer badge.

History of Science and Math

Q&A for people interested in the history and origins of science and mathematics

declare @userId int = ##userId##

    p.ParentId as [Post Link]
   ,datediff(day, parent.CreationDate, p.CreationDate) as [Days after Ask for Answer]
   ,count(*) as voteCount
    Posts p         
    inner join Votes v
        on v.PostId = p.Id
        and v.VoteTypeId = 2
     inner join Posts parent
        on parent.Id = p.ParentId
    p.OwnerUserId = @userId
    and datediff(day, parent.CreationDate, p.CreationDate) >= 60
group by
   ,datediff(day, parent.CreationDate, p.CreationDate)
    count(*) <= 3
order by
    datediff(day, parent.CreationDate, p.CreationDate) desc

Enter Parameters

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