SELECT u.Id, COUNT(p.Id) numPosts, AVG(UpVotes) UserUpVotes

0

Please login or register to vote for this query.

(click on this box to dismiss)

Bicycles

Q&A for people who build and repair bicycles, people who train cycling, or commute on bicycles

SELECT u.Id, COUNT(p.Id) numPosts, AVG(UpVotes) UserUpVotes
FROM posts p
JOIN users u
ON p.OwnerUserId=u.Id
GROUP BY u.Id
ORDER BY numPosts DESC

Enter Parameters

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