Tags with a high proportion of zero-vote accepted answers

0

Please login or register to vote for this query.

(click on this box to dismiss)

Anime and Manga

Q&A for anime and manga fans

-- Tags with a high proportion of zero-vote accepted answers

SELECT t.TagName
, COUNT(*) AS 'Questions'
, CAST( COUNT(a.id) AS FLOAT ) / COUNT(*) AS 'Zero-Vote AcceptedPercent'
FROM Tags t
LEFT JOIN
     PostTags pt
ON   t.id = pt.TagId
LEFT OUTER JOIN
     Posts p
ON   pt.PostId = p.id
AND  p.AcceptedAnswerId != 0
LEFT JOIN
     Posts a
ON   a.Id = p.AcceptedAnswerId
AND a.Score = 0
GROUP BY t.TagName
HAVING COUNT(*) > 1000
ORDER BY 3 ASC

Enter Parameters

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