Finds the top 100 question-askers

1

Please login or register to vote for this query.

(click on this box to dismiss)

SharePoint

Q&A for SharePoint enthusiasts

-- 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 to meta site
loading Hold tight while we fetch your results