The minumum, maximum and average answer score for a user. New version: Calculates average as a float instead of an int. New new version: Uses 'UserId' instead of 'userId'.
Q&A about the site for members of the workforce navigating the professional setting
-- Average Answer Score -- The minumum, maximum and average answer score for a user. -- New version: Calculates average as a float instead of an int. -- New new version: uses 'UserId' instead of 'userId' SELECT MIN(Score) AS Minimum, MAX(Score) AS Maximum, (SUM(Score) + 0.0) / Count(*) AS Average FROM Posts WHERE PostTypeId = 2 AND OwnerUserId = ##UserId##