2024-10-14 06:57:49
2024-10-14 07:17:14
可以把剩下的几个问题帮忙回答上来么,谢谢了!
6.
select AVG(GRADE) from sc where cno = '1'
7.
select c.cno, c.cname, ta.cc from course c left outer join
(
select cno , count(*) as cc from sc
group by cno
)ta
on c.cno =ta.cno
8.
select c.sno, c.sname, c.ssex, c.sage, c.sdept, ta.cno, ta.cname, ta.credit, ta.grade from student c left outer join
(
select b.sno, a.cno, a.cname, a.credit, b.grade from
course a, sc.b
where a.cno = b.cno
)
ta
on c.sno =ta.sno