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

Lifehacks

Q&A for people looking to bypass life's everyday problems with simple tricks

-- Find unanswered questions in a tag by asker reputation

SELECT Posts.Id as [Post Link], Posts.Tags as [Tags], Posts.Score, Posts.ViewCount, Posts.CreationDate, Posts.AnswerCount, Users.LastAccessDate
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 < 1
      AND Posts.AcceptedAnswerId is null
      AND Posts.PostTypeId  = 1      -- PostTypeId = 1 -> Question
      AND Posts.CommunityOwnedDate is null
      AND Posts.ClosedDate         is null
      AND Posts.ViewCount > 50
      AND Users.Reputation > 50
      --AND Posts.LastActivityDate < '2017-01-01'
      AND Posts.CreationDate > '2023-01-01'
      AND Users.LastAccessDate > '2024-03-15'
      --AND Posts.Score > 0
ORDER by Posts.ViewCount      DESC;

Enter Parameters

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