已知学生课程数据库中,包括学生*(s)课程(c)学生选课(sc)3个关系模式

2修改学生将学号1201的学生年龄改为18

update student set age=18 where sno=1201(student是我假设的学生表名,sno是我假设的学号字段,请根据你的实际情况修改)
温馨提示:答案为网友推荐,仅供参考
第1个回答  2012-12-25
最简单的是:
delete * from sc where sno=1201
delete * from s where sno=1201
第2个回答  2012-12-25
update set age='18' from course ,student where student.id=course.id
第3个回答  2012-12-25
不知道