Q&A for students, teachers, polyglots, and anyone interested in the techniques of second-language acquisition
SELECT CreationDate , Score , avg(CAST(Score AS FLOAT)) OVER ( ORDER BY CreationDate ROWS ##IncludePreceding:INT?9## PRECEDING ) AS RollingAvg FROM Posts WHERE PostTypeId = 2 AND OwnerUserId = ##UserId:INT##;