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;