Filter Unanswered Questions by a Single Tag

1

Please login or register to vote for this query.

(click on this box to dismiss)

Christianity

Q&A for committed Christians, experts in Christianity and those interested in learning more

SELECT P.Id AS [Post Link]
FROM Posts P, PostTags Pt, Tags T
WHERE P.Id = Pt.PostId
AND T.Id = Pt.TagId
AND T.TagName = '##tags##'
AND P.PostTypeId = 1
AND P.AnswerCount = 0
AND P.ClosedDate IS NULL
GROUP BY P.Id
HAVING (SELECT Count(Pt.TagId) FROM PostTags Pt WHERE Pt.PostId = P.Id) = 1

Enter Parameters

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