Rounding Up and Down (Access).sql

SELECT StudentID, AVG(Mark) AS AverageMark,
       INT(AVG(Mark)) AS RoundDown,
       ROUND(AVG(Mark) + .5, 0) AS RoundUp,
       ROUND(AVG(Mark), 0) AS ClosestInt
FROM StudentExam
GROUP BY StudentID;
原文地址:https://www.cnblogs.com/shihao/p/2570946.html