SQL for Non-Programmers -- Homework Practice

0

Please login or register to vote for this query.

(click on this box to dismiss)

Physical Fitness

Q&A for physical fitness professionals, athletes, trainers, and those providing health-related needs

SELECT TOP 10 Users.Id [User Link], Count (*) DownvoteCount
FROM Users
JOIN Votes on Votes.UserId = Users.Id
WHERE Votes.VoteTypeId = 3
GROUP BY Users.Id
ORDER BY Count (*) DESC

Enter Parameters

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