Q&A for those who study, teach, research and apply economics and econometrics
-- What is my average answer score? DECLARE @UserId int = ##UserId## SELECT AVG(CAST(Score AS float)) AS AverageAnswerScore FROM Posts INNER JOIN Users ON Users.Id = OwnerUserId WHERE OwnerUserId = @UserId AND PostTypeId = 2