27,579
社区成员
发帖
与我相关
我的任务
分享
select 系号,MAX (平均成绩)
from (
select 系号,AVG (成绩)平均成绩
from 学生表,选课表
where 学生表.学号=选课表.学号
and 课程号='1'
group by 系号
)t
group by 系号
select 系号,MAX (平均成绩)
from (
select 系号,AVG (成绩)平均成绩
from 学生表,选课表
where 学生表.学号=选课表.学号
and 课程号='1'
group by 系号
)t
group by 系号
select 系号,MAX (平均成绩)
from (
select 系号,AVG (成绩)平均成绩
from 学生表,选课表
where 学生表.学号=选课表.学号
and 课程号='1'
group by 系号
)t
group by 系号
select 系号,MAX (平均成绩)
from (
select 系号,AVG (成绩)平均成绩
from 学生表,选课表
where 学生表.学号=选课表.学号
and 课程号='1'
group by 系号
)t
group by 系号