Q&A for Salesforce administrators, implementation experts, developers and anybody in-between
-- number of questions per day SELECT CONVERT(date, CreationDate) AS date, AVG(Score) AS a_score FROM Posts WHERE PostTypeID = 1 GROUP BY CONVERT(date, CreationDate) ORDER BY date DESC;