获得“杨彬”同学的考试科目数、总成绩和平均分
2014-10-25 21:06:38 访问(1629) 赞(0) 踩(0)
-
select count(1) as '科目数', sum(sc.score) as '总成绩',avg(sc.score) as '平均分'
from
UTB_EXAM_STUDENT s,
UTB_EXAM_SCORE sc
where
s.ID = sc.StudentId
and s.TheName = '杨彬'
标签:
获得“杨彬”同学的考试科目数、总成绩和平均分 


上一条:
下一条:
相关评论
发表评论