将计算机科学系全体学生的成绩置零,下列语句正确的有()
A. UPDATE SC SET Grade=0 WHEREsno in (select sno from studentWHERE sdept = ‘CS’)
B. UPDATE SC SET Grade=0 WHERE(SELETE Sdept FROM StudentWHERE Student.Sno = SC.Sno)= 'CS'
C. UPDATE SC SET Grade=0 WHERE'CS'= (SELETE Sdept FROM StudentWHERE Student.Sno = SC.Sno)
D. UPDATE SC SET Grade=0 WHERE(SELETE Sdept FROM Student,SCWHERE Student.Sno = SC.Sno AND Sdept='CS')
删除计算机科学系所有学生的选课记录,下列语句正确的为()
A. DELETE FROM SC WHEREsno in (select sno from studentWHERE sdept = ‘CS’)
B. DELETE FROM SC WHERE(SELETE Sdept FROM StudentWHERE Student.Sno=SC.Sno) ='CS'
C. DELETE FROM SC WHERE 'CS'=(SELETE Sdept FROM StudentWHERE Student.Sno=SC.Sno)
DELETE FROM SC WHERE(SELETE Sdept FROM StudentWHERE Student.Sno=SC.Sno)
DBMS在执行插入语句时会检查所插元组是否破坏表上已定义的完整性规则,如对于有NOT NULL约束的属性列是否提供了非空值,对于有UNIQUE约束的属性列是否提供了非重复值
A. 对
B. 错
导热问题的第一类边界条件是已知
A. 壁温
B. 热流密度
C. 温度梯度
D. 温差