房天下 > 房天下问答 > 业主生活 > 其他
  • Sql查询问题 因为我是初学者,所以本人在这请教各位大大。希望认真帮我看下题目。认真的解答。答对加分。

    1、查找每个学生参与了的课程的平均成绩1、查找每个学生参与了的课程的平均成绩

    提问者:三山龙

    发布于2011-02-10

共1个回答
  • 陈星似 丨Lv 2
    1.select student.name,avg(score)from student_subject,studentwhere student_subject.studentid=student.idgroup by student.name2.select class.name,avg(score)from student_subject,student_class,classwhere student_subject.studentid=student_class.student and class.id= student_class.classIDgroup by class.name
    +1 2011-02-11 举报
热门人气推荐
免责声明:问答内容均来源于互联网用户,房天下对其内容不负责任,如有版权或其他问题可以联系房天下进行删除。