Unanswered questions in a tag by asker reputation

0

Please login or register to vote for this query.

(click on this box to dismiss)

Find unanswered questions in a tag by asker reputation

Amateur Radio

Q&A for amateur radio enthusiasts

-- Find unanswered questions in a tag by asker reputation

SELECT AVG(DATEDIFF(d,  Posts.CreationDate, '2015-10-23'))
FROM  Posts
    INNER JOIN PostTags ON Posts.Id          = PostTags.PostId
    INNER JOIN Tags     ON PostTags.TagId    = Tags.id
    INNER JOIN Users    ON Posts.OwnerUserId = Users.id
WHERE Tags.TagName   = '##TagName##'
      AND Posts.AnswerCount = 0
      AND Posts.PostTypeId  = 1                -- PostTypeId = 1 -> Question
      AND Posts.CommunityOwnedDate is null
      AND Posts.ClosedDate         is null

Enter Parameters

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