Crusader's crossbow: smite unanswered questions by finding worthy answers (by user)

0

Please login or register to vote for this query.

(click on this box to dismiss)

Craft CMS Meta

Q&A about the site for administrators, end users, developers and designers for Craft CMS

select Id as [Post Link],Tags
from Posts
where Id in (
select ParentId
from Posts
where ParentId in 
(select Q.Id from Posts as Q
inner join Posts as A on (A.ParentId = Q.Id)
where Q.PostTypeId = 1
and A.PostTypeId = 2
and A.OwnerUserId = '##UserId##'
and A.Score <= 0
and Q.AcceptedAnswerId is null
and DATEDIFF(day, Q.CreationDate, GETDATE()) >= 180
and Q.ClosedDate is null)
group by ParentId
having max(Score) <= 0
)
;

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results