Maybe earned Yearling for this year

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

select year(v.CreationDate) Year,
       count(distinct v.Id)*10 "Reputation gain"/*,
       sum(iif(VoteTypeId = 1, 15, 0)) Accepted, -- Count both the asker and the answerer!
       sum(iif(VoteTypeId = 2 and PostTypeId = 1, 10, 0)) "Question upvotes",
       sum(iif(VoteTypeId = 2 and PostTypeId = 2, 10, 0)) "Answer upvotes",
       sum(iif(VoteTypeId = 3 and PostTypeId = 1, -2, 0)) "Question downvotes",
       sum(iif(VoteTypeId = 3 and PostTypeId = 2, -3, 0)) "Answer downvotes", -- Don't forget the vote penalty!      
       sum(iif(VoteTypeId = 16, 2, 0)) Edits*/
from Votes v
     join Posts p on p.Id = PostId
where OwnerUserId = ##UserId?5871##
      and VoteTypeId = 2

group by year(v.CreationDate)

Enter Parameters

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