short unanswered questions under specific tag

0

Please login or register to vote for this query.

(click on this box to dismiss)

Webmasters

Q&A for pro webmasters

SELECT P.Id AS [Post Link], P.Tags, P.Body
FROM Posts P, PostTags Pt, Tags T
WHERE P.Id = Pt.PostId
AND T.Id = Pt.TagId
AND T.TagName = '##tag1##'
AND P.PostTypeId = 1
AND P.AnswerCount = 0
AND P.Body LIKE '%##text##%'
AND P.ClosedDate IS NULL
AND P.CommunityOwnedDate IS NULL
AND P.Score > 0
AND (SELECT COUNT(P.Body) FROM Posts P WHERE P.Id = Pt.PostId) < 50
AND (SELECT COUNT(Pt.TagId) FROM PostTags Pt WHERE Pt.PostId = P.Id) = 1

Enter Parameters

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