【单选题】【消耗次数:1】
设在SC(Sno,Cno,Grade)表上定义了触发器:   CREATE TRIGGER tri1 ON SC AFTER INSERT …   当执行语句:INSERT INTO SC VALUES(s001, c01,90)   会引发该触发器执行。下列关于触发器执行时表中数据的说法,正确的是( )。
SC表和INSERTED表中均包含新插入的数据
SC表和INSERTED表中均不包含新插入的数据
SC表中包含新插入的数据,INSERTED表中不包含新插入的数据
SC表中不包含新插入的数据,INSERTED表中包含新插入的数据
参考答案:
复制
纠错
相关题目
【单选题】 学生-课程数据库中,SC表上建立了两个外码约束,被参照表是Student表和Course表,则最适当的说法是( )。
①  Student表中的学生号Sno不能随意取值
②  Course表中的课程号Cno不能随意取值
③  SC表中学生号Sno不能随意取值
④  SC表中学生号Sno、课程号Cno均不能随意取值
【单选题】 当执行由UPDATE语句引发的触发器时,下列关于该触发器临时工作表的说法,正确的是( )。
①  系统会自动产生UPDATED表来存放更改前的数据
②  系统会自动产生UPDATED表来存放更改后的数据
③  系统会自动产生INSERTED表和DELETED表,用INSERTED表存放更改后的数据,用DELETED表存放更改前的数据
④  系统会自动产生INSERTED表和DELETED表,用INSERTED表存放更改前的数据,用DELETED表存放更改后的数据
【单选题】 报表数据处理中,插入表页是在( )插入一张空白表页。
①  第一张表页前面
②  第一张表页后面
③  当前表页后面
④  最后一张表页后
【单选题】 利用Recordset对象可以得到查询结果集。下列将SC表中的全部数据放置到Recordset对象中的语句,正确的是( )。
①  ADOrs.Open Select * From SC
②  ADOrs. Execute Select * From SC
③  ADOrs. Create Select * From SC
④  ADOrs. Select * From SC
【单选题】 删除计算机系学生(在student表中)的修课记录(在SC表中)的语句,正确的是( )。
①  DELETE FROM SC JOIN Student b ON S.Sno = b.Sno WHERE Sdept = 计算机系
②  DELETE FROM SC FROM SC JOIN Student b ON SC.Sno = b.Sno WHERE Sdept = 计算机系
③  DELETE FROM Student WHERE Sdept = 计算机系
④  DELETE FROM SC WHERE Sdept = 计算机系
【单选题】 下列删除计算机系学生(在student表中)的修课记录(在SC表中)的语句,正确的是( )。
①  DELETEFROM SC JOIN Student b ON S.Sno = b.Sno   WHERE Sdept = 计算机系
②  DELETE FROM SC FROM SC JOIN Student b ON SC.Sno = b.Sno   WHERE Sdept = 计算机系
③  DELETE FROM StudentWHERE Sdept = 计算机系
④  DELETE FROM SC WHERE Sdept = 计算机系
【单选题】 设数据库中已有教材中的Student(Sno,Sname,Ssex,Sage,Sdept)、Course(Cno,Cname,Credit,Semster)和SC(Sno,Cno,Grade)表。现要查询学生选的第2学期开设课程的情况,只需列出学号、姓名、所在系和所选的课程号。该查询涉及到的表是( )。
①  仅Student表
②  仅Student和SC表
③  仅Student和Course表
④  Student、SC和Course表
【单选题】 SQL语言中,插入数据表的语句是___。
①  Select
②  Insert
③  Update
④  Create
【单选题】 如果在工作表上拖动蓝色选定柄,将新数据包含到矩形选定框中,可以在图表中添加(? ??)。
①  新分类
②  新分类和新据点
③  新数据系列?
【单选题】 执行插入→工作表菜单命令,每次可以插入( )个工作表。
①  1
②  2
③  3
④  4
随机题目
【单选题】 My mother is no ______ young.
①  shorter
②  longer
③  little
④  few
【单选题】 I think science is ______ than Japanese.
①  much important
②  important
③  much more important
④  more much important
【单选题】 What ___ if I drink this?
①  happens
②  is happening
③  will happen
④  is happened
【单选题】 She ___ the door before she goes away.
①  had locked
②  is locking
③  has locked
④  was locking
【单选题】 I haven’t finished my composition. I ___ for two hours and a half.
①  ?have written it
②  ?have been writing it
③  ?wrote it
④  am writing it
【单选题】 Look out! That tree ___ fall down.
①  is going to
②  will be
③  shall
④  would
【单选题】 My uncle ___ to see me. He’ll be here soon.
①  comes
②  is coming
③  had come
④  came
【单选题】 Helen believes if a man robs her of five dollars it is the same as if he _____ a hundred.
①  takes
②  will take
③  took
④  has taken
【单选题】 When I saw Mary, she ___ on the piano.
①  is playing
②  plays
③  was playing
④  played
【单选题】 Which sentence is right?
①  I dont think that he is not right.
②  I think he is not right.
③  I dont think that he is right.
④  I think he was not right.