Q&A for statisticians, data analysts, data miners and data visualization experts
SELECT PostTypeID, SUM (Score) AS SUM_SCORE, COUNT(*) AS COUNT_SCORE, AVG(CAST(Score AS DECIMAL(12,2))) AS AVG_SCORE FROM Posts GROUP BY PostTypeID HAVING PostTypeID < 3
Error: looks like you typed in the wrong words - try again