Q&A about the site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation
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')