标签:
select Sname,Ssex,Class from student select distinct Depart from Teacher select*from student select*from Score where Degree between 60 and 88 select*from Score where Degree in(85 ,86 ,88) select * from student where Class = ‘95031‘ or Ssex=‘女‘ select*from student order by Class desc select*from Score order by Cno asc,Degree desc select COUNT (1) from student where Class =‘95031‘
10、 查询Score表中的最高分的学生学号和课程号。(子查询或者排序)
11、 查询每门课的平均成绩。
12、查询Score表中至少有5名学生选修的并以3开头的课程的平均分数。
标签:
原文地址:http://www.cnblogs.com/ROCKyou/p/4761388.html