Which users have the highest rep to total posts ratio?
I'm curious which users contributed the "least" (in terms of number of posts), but have accrued the most rep.
Here's my query:
SELECT TOP 50
u.Id,
u.DisplayName,
u.Reputation,
count(*) as [Total Number of Posts],
u.Reputation/count(*) as Ratio
FROM Users u
join Posts p on p.OwnerUserId = u.Id
where p.postTypeId in (1,2)
group by u.Id,u.DisplayName,u.Reputation
ORDER BY Ratio DESC
Almost all of the top 50 users made only one post.
Id |DisplayName |Reputation |Total Number of Posts |Ratio
13161 |mattshane |34863 |1 |34863
581625 |baisong |28430 |1 |28430
543858 |chuck97224 |26658 |1 |26658
...
Details of the 3 posts relating to the users above follow
Quoting your self-answer:
Almost all of the top 50 users made only one post.
Here is a variation of the query which only includes users with a minimum amount of posts. As of now, out of the top ten users with at least ten posts, seven have ten or eleven posts. There already is more variability in that regard once the cutoff is raised to a hundred posts.