Q&A about the site for builders and users of networked sensors and control devices in the contexts of smart homes, industry automation, or environmental sensors
-- 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