Finds the top 100 question-askers

1

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for programmers

-- Finds the top 100 question-askers

SELECT TOP 100 count(p.Id) as [Question Count], p.OwnerUserId as [User Link]
  FROM Posts p
  WHERE p.PostTypeId = 1 and p.OwnerUserId is not null
  GROUP BY p.OwnerUserId
  ORDER BY 1 desc;

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results
:records returned in :time ms:cached