Average score of questions (per month)

1

Please login or register to vote for this query.

(click on this box to dismiss)

Physical Fitness Meta

Q&A about the site for physical fitness professionals, athletes, trainers, and those providing health-related needs

SELECT 
number = ROW_NUMBER() OVER (ORDER BY format(p.CreationDate, 'yyyy-MM')),
format(p.CreationDate, 'yyyy-MM'), AVG(cast(p.Score as decimal))
FROM PostsWithDeleted p
WHERE p.PostTypeId=1
GROUP BY format(p.CreationDate, 'yyyy-MM')
ORDER BY format(p.CreationDate, 'yyyy-MM')

Enter Parameters

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