Questions with the most abundant anonymous feedback

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

select top 100 p.Id as [Post Link], count(*) N
from Posts p
     join PostFeedback pf on PostId = p.Id 
                             and VoteTypeId = 3
                             and pf.CreationDate 
                             > isnull(p.LastEditDate, p.CreationDate) 
                               + 365
                             and PostTypeId = 2
group by p.Id
order by count(*) desc

Enter Parameters

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