急!!!!MFC SQL编程

来源:百度知道 编辑:UC知道 时间:2024/06/09 04:24:03
要用SQL Sever和MFC 编写学生成绩管理
对成绩简单统计 :成绩排名,各分数段学生人数 平均分计算
成绩是老师根据课程编号查找该选课学生后录入的
谁来帮帮我 要不我就要毕业以后回学校补啦!!!55555555

成绩排名:select * from table_name order by 成绩 desc;
个人数段人数:select (select count(*) from chenji where score>89) as '90-100人数',(select count(*) from chenji where score >79 and score<90) as '80-89人数',。。。。。。
平均分:select avg(成绩) from table_name