トピック:クエリは、二つ以上のコースや学校番号、名前や成績評価点の平均の学生に失敗しました
分析:私は長い間、私は直接のグループを、再びスクリーニングスコアでグループ化する生徒の得点表student_scoreテーブルの制限の考えてきたと思います
最初の画分は再編成し、カウントを持つスクリーニングすることができます
次のSQL:
student.id、student.stdentnameを選択し、AVG学生から(student_score.score)、student_score
ここ
student.id = student_score.studentidとstudent_score.score <60
student_score.studentidによって基
を有する数(*)> 1。