0
我有兩個表...獲取子計數隨着平均和計數
MODULES ENROLMENTS
GroupNo StudentNo
Title GroupNo
Tutor CourseworkMark
DayNo ExamMark
Time
Room
Semester
我想創建一個顯示在課程和考試,每個模塊還計數中獲得的平均標記的看法達到> 70,60-69,50-59,40-49和<的學生人數40.這可能嗎?
我的平均分與摸索出...
SELECT Title,
AVG(CourseworkMark) AS AverageCoursework,
AVG(ExamMark) AS AverageExam
FROM tblModules INNER JOIN tblEnrolments
ON tblModules.GroupNo = tblEnrolments.GroupNo
GROUP BY Title;