SQL for Non-Programmers -- Homework Practice

0

Please login or register to vote for this query.

(click on this box to dismiss)

Physics

Q&A for active researchers, academics and students of physics

SELECT TOP 10 AVG(p.Score * 1.0)
FROM Posts p
JOIN PostTags pt on pt.PostId = p.Id
JOIN Tags t on t.Id = pt.TagId
WHERE p.PostTypeId = 1 AND p.CreationDate > DATEADD(month, -1, GETUTCDATE())
GROUP BY t.Id
HAVING COUNT(p.PostTypeId) > 100

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results