user reputation history

5

Please login or register to vote for this query.

(click on this box to dismiss)

http://meta.stackexchange.com/questions/144716/reputation-history-from-data-explorer

Amateur Radio

Q&A for amateur radio enthusiasts

; 
with upvQ as (
  select v.creationdate
  , sum(count(*)*5)
  over (order by v.creationdate) as score
       --    when p.posttypeid = 2 then count(*)*10 -- A 
   from posts p 
  inner join votes v on v.postid = p.id
  where v.votetypeid = 2 --UpVote
  and p.posttypeid = 1 -- Q
  and p.owneruserid = ##uid##
  group by v.creationdate
)
select distinct v.creationdate, upvq.score as [Upvotes]
from votes v 
inner join upvQ on upvQ.creationdate = v.creationdate
order by v.creationdate

Enter Parameters

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