Q&A for people interested in the history and origins of science and mathematics
SELECT CAST(p.CreationDate AS date), AVG(cast(p.Score as decimal)) FROM Posts p WHERE p.PostTypeId=1 AND p.CreationDate >= '##Date1##' AND p.CreationDate <= '##Date2##' GROUP BY CAST(p.CreationDate AS date) ORDER BY CAST(p.CreationDate AS date)