SQL for Non-Programmers -- Homework Practice

0

Please login or register to vote for this query.

(click on this box to dismiss)

Tezos

Q&A for users, experts, and developers of the Tezos blockchain project

SELECT TOP 10 SUM(p.PostTypeId) TotalAnswers, u.Id [User Link]
FROM Users u
JOIN Posts p ON p.OwnerUserId = u.Id
GROUP BY u.Id
HAVING SUM(p.PostTypeId) > 100 
ORDER BY u.Id DESC

Enter Parameters

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