1
select b.课程名,isnull(count(*),0)
from 课程表 a,成绩表 b on a.课程号=b.课程号
group by b.课程名
2
select a.姓名,b.课程名,c.成绩 from 学生表 a,课程表 b,成绩表 c
where a.学号=c.学号 and b.课程号=c.课程号
and a.性别='女' and b.课程名='计算机基础'
3
这个,你自己添加数据就好啦
4
update 课程表 set 学分=学分+1 where 课程号='001'
5
select * from 课程表 where 课程名 like '计算机%'