MySql数据库,从student表与成绩表中进行排名查询
成绩表userid 学生姓名,kechengid课程,category1id班级,semesterid学期学生表求某一学期,某个班的成绩排名select nickname,sum(score) from student left join achievement on achievement.userid=student.id group by achievement.userid where student.category1id=13 and semesterid=4;...
原创
2021-01-12 18:26:51 ·
900 阅读 ·
0 评论