select reputation , creationdate , reputation / datediff(...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

select reputation
      , creationdate
      , reputation /
        datediff(d
  /* This puts start day on March 2018 where I started contributing to site: */        
        , creationdate+880
       , (select create_date
        from sys.databases
        where database_id = db_id())) as Avg_gain

from users
where id = ##userid:int##

Enter Parameters

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