Please login or register to vote for this query.

(click on this box to dismiss)

Gardening and Landscaping

Q&A for gardeners and landscapers

SELECT TOP 1 t.TagName, AVG(CAST(p.Score AS FLOAT)) as avg_score
FROM Posts p, PostTags pt, Tags t
WHERE (p.Id = pt.PostId AND t.Id = pt.TagId) AND t.Count > 5
GROUP BY t.TagName
ORDER BY avg_score DESC;

Enter Parameters

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