在 Access 中对列中的多行进行平均
我有下表:
Table 1 Student , Exam_ID 1 1 2 1 3 2 1 2 3 3 2 3 3 4 1 4 Table 2 Exam ID, Mark (1 , 5) (2 , 4) (3 , 4) (4 , 5)
每项考试都是由成对的学生解决的...我希望能够平均每对学生参加的所有考试的分数,例如:考试 2 和 4 由同一对学生参加(3,1) 我希望能够计算这两次考试的平均分数,即(4,5)=4.5 然后将这些对从最高分到最低分进行排名 谢谢
如何将名字和姓氏包含到第一个表中?
I have the following tables:
Table 1 Student , Exam_ID 1 1 2 1 3 2 1 2 3 3 2 3 3 4 1 4 Table 2 Exam ID, Mark (1 , 5) (2 , 4) (3 , 4) (4 , 5)
each exam is solved by pairs of students ... i want to be able to average the mark of all exams taken by each pair of student for example : Exams 2 and 4 are taken by the same pair of students (3,1) i want to be able to average the marks for those 2 exams which are(4,5)=4.5
and then rank those pairs from highest to lowest marks
thank you
How can I include First_Name and Surname into the first table?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
或者这个:
它的工作原理在这里更明显。括号内的 JOIN 找到配对,下一个 JOIN 将配对与第二个 Marks 表关联起来。
or this:
where it is more obvious how it works. The JOIN inside the parenthesis finds the couples and next JOIN relates the couples to the second Marks table.