Q&A for people interested in the history and origins of science and mathematics
;with firstpostids_cte as ( SELECT MIN(Id) AS MinId, OwnerUserId FROM Posts WHERE PostTypeId=1 GROUP BY OwnerUserId, OwnerDisplayName ) , firstpostsscore_cte as ( SELECT p.Id, p.CreationDate AS cre, p.Score AS sco FROM firstpostids_cte fp JOIN Posts p ON fp.MinId=p.Id ) SELECT CAST(cre AS date), AVG(cast(sco as decimal)) FROM firstpostsscore_cte WHERE cre >= '##Date1##' AND cre <= '##Date2##' GROUP BY CAST(cre AS date) ORDER BY CAST(cre AS date)