AVG([BERBEDA] expr) [over_clause]
SELECT student_name, AVG(test_score)
FROM student
GROUP BY student_name;
Returns the average value of expr. The DISTINCT option can be used to return the average of the distinct values of expr.
SELECT student_name, AVG(test_score)
FROM student
GROUP BY student_name;