Ratio of users who have at least one question upvote

0

Please login or register to vote for this query.

(click on this box to dismiss)

Monero Meta

Q&A about the site for developers and users of the secure, private and untraceable cryptocurrency Monero

declare @population int = (select count(*) from Users)

select count(distinct OwnerUserId) "Users gaining reputation",
       @population "Total users",
       100.0*count(distinct OwnerUserId)/@population "% who gain"
from Posts q
     join Votes v on q.Id = v.PostId
where PostTypeId = 1
      and VoteTypeId = 2

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results