select Users.Id, Users.DisplayName, COUNT(Posts.Id) Posts...

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 Users.Id, Users.DisplayName, COUNT(Posts.Id) PostsCount from Users
  inner join Posts on Posts.OwnerUserId = Users.Id
  where Posts.PostTypeId = 1
  group by Users.Id, Users.DisplayName
  having COUNT(Posts.Id) > 50
  order by PostsCount

Enter Parameters

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