在学生选课数据库S_T中,有学生表student(sno,sname,ssex,sage,sdept),课程表course(cno,cname,cp
在学生选课数据库S_T中,有学生表student(sno,sname,ssex,sage,sdept),课程表course(cno,cname,cpno,ccredit),选课表sc(sno,cno,grade)。其中sno是学号,sname是姓名,ssex是性别,sage是年龄,sdept是系别,cno是课程号,cname是课程名,cpno是先行课号,ccredit是学分, grade是成绩。以下是所有计算机系’CS’的学生的视图定义,并且student中学号为’200215123’的学生是数学系’MA’的。以下()命令可正确执行且受影响的行数等于1。 create view CS_student as select sno,sname,ssex,sage,sdept from student where sdept=’CS’ with check option
A、delete from CS_student where sno=’200215123’
B、update CS_student set sdept=’IS’ where sno=’200215123’
C、insert into CS_student values(’200215129’,’Mike’,’男’,20,’CS’)
D、insert into CS_student values(’200215128’,’Tom’,’男’,21,’MA’)