SELECT TOP 10 DisplayName, COUNT(*) as postCount FROM Posts AS p JOIN Users AS u ON p.OwnerUserId=u.

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT TOP 10 u.Id, DisplayName, COUNT(p.Id) PostCount FROM Users AS u
JOIN Posts AS p ON u.id = p.OwnerUserId
GROUP BY u.Id, DisplayName
ORDER BY PostCount DESC

Enter Parameters

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