Questions with outstanding close votes by tag

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT * FROM (
  SELECT
    Posts.Id AS [Post Link],
    avg(Posts.Score) AS [Score],
    count(*) AS [Close Votes],
    max(Votes.CreationDate) AS [Last Vote],
    min(Votes.CreationDate) AS [First Vote]  
  FROM Posts
  JOIN Votes ON Posts.Id = Votes.PostId
  WHERE
    Votes.VoteTypeId = 6
    AND Posts.ClosedDate IS NULL
    AND Posts.Tags LIKE '%<##Tag##>%'  
  GROUP BY Posts.Id
) AS t 
WHERE [Close Votes] > 3
order by [Last Vote] desc

Enter Parameters

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