课程表结构如下SC(sno, cno, cname, grade),其中列cno和sno的数据类型均为varchar(20),grade数据类型为smallint,查询每门课程的平均分,对应的SQL语句可以是( )。
A.
select avg(grade) as 平均分 from SC;
B.
select sum(grade) as 平均分 from SC;
C.
select sno, avg(grade) as 平均分 from SC group by sno;
D.
select cno, avg(grade) as 平均分 from SC group by cno;