Select top 10 u.Id, u.DisplayName, count(p.id) as postcnt...

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, u.DisplayName, count(p.id) as postcnts
from Posts as p Join Users as u on (p.OwnerUserId = u.Id) 
group by u.Id, u.DisplayName, p.Id
order by postcnts desc

Enter Parameters

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