Part of my assignment says this 6. Display the student id and average score for each student.
This is what I came up with
SELECT student_id, AVG(score) FROM scores;
But it only brings up the average score of the first student. What do I need to change?
GROUP BY.AVG().SELECT student_id, AVG(score) FROM scores GROUP BY student_id;