I have a list of grades that students received. Each student appears multiple times in the table. How do I produce a list of all the students with their average grade?
Ps I've tried looking at previously asked questions to see if I can find something relevant, but with no luck.
查找AVG
函数和GROUP BY
子句。
Since it's homework . . .
You are basically trying to aggregate data in SQL. Try googling along those lines.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.