Tags by highest average question score

1

Please login or register to vote for this query.

(click on this box to dismiss)

MathOverflow

Q&A for professional mathematicians

SELECT TOP(##num?500##)
  t.TagName, t.Count,
  AVG(CAST(p.Score AS decimal))
FROM Posts p
  INNER JOIN PostTags pt ON p.Id = pt.PostId
  INNER JOIN Tags t ON pt.TagId = t.Id
WHERE t.Count>=##min?10##  
---WHERE (p.PostTypeId IN (##types?1,2##)  
GROUP BY t.TagName, t.Count
ORDER BY AVG(CAST(p.Score AS decimal)) DESC

Enter Parameters

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