with breakdown as ( select [User] = p.OwnerUserId ,[Count...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Christianity

Q&A for committed Christians, experts in Christianity and those interested in learning more

with breakdown as (
  select
     [User] = p.OwnerUserId
    ,[Count] = count(*)
from Votes v
  inner join Posts p on v.PostId = p.Id
where p.PostTypeId = 1 -- questions
  and v.VoteTypeId = 2 -- upvotes
group by
   p.OwnerUserId
   )
select top 100 * from breakdown;

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results