(only users with at least 10 Popular Questions)
Q&A for professional and enthusiast programmers
-- Users by Popular Question ratio -- (only users with at least 10 Popular Questions) select top 10 * from ( select Users.Id as [User Link], Q.QuestionCount from Users inner join ( select OwnerUserId, count(Id) as QuestionCount from posts where PostTypeId = 1 group by OwnerUserId ) as Q on Users.Id = Q.OwnerUserId ) f order by f.[QuestionCount] desc;