SQL for Non-Programmers -- Homework Practice

0

Please login or register to vote for this query.

(click on this box to dismiss)

The Workplace Meta

Q&A about the site for members of the workforce navigating the professional setting

SELECT TOP 10 AVG(p.Score), t.Id [Tag Link]
FROM Posts p
JOIN PostTags pt on pt.PostId = p.Id
JOIN Tags t on t.Id = pt.TagId
WHERE p.PostTypeId = 1
GROUP BY t.Id
HAVING COUNT(p.PostTypeId) > 100

Enter Parameters

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