The Canterbury Tales is a representative work of the Old English period.
查看答案
William Wordsworth and Samuel Taylor Coleridge brought the Romantic Movement to its height.
A. 对
B. 错
Jonathan Swift is probably the foremost prose satirist in the English language, and Robinson Crusoe is his masterpiece.
A. 对
B. 错
Lord Byron distinguished himself by the musical quality of his short poems, such as “Ode to the West Wind ”.
A. 对
B. 错
【4-5实训】外键一、默认外键类型设置1.导入数据库stu.sql2.创建student表中的sid字段为主键3.为score表创建外键:fk_sid,score表中的sid与student表中的sid建立外键关联4.为score表添加记录(请记录命令执行情况,并分析原因)1234, 01, 905.删除student表中的学号为”0102”的学生记录(请记录命令执行情况,并分析原因)二、级联外键设置1.删除stu数据库2.重新导入stu数据库3.为score表创建外键:fk_sid,score表中的sid与student表中的sid建立主键关联,update类型:级联;delete类型:级联4.将student表中sid字段 “0101”修改为“1111”5.观察score表中sid字段 “0101”记录变化6.删除student表中sid字段“1111”的记录7.观察score表中sid字段 “1111”记录是否存在三、no action外键设置1.删除stu数据库2.重新导入stu数据库3.为score表创建外键:fk_sid,score表中的sid与student表中的sid建立主键关联,update类型:no action;delete类型:no action。4.将student表中sid字段 “0101”修改为“1111”5.观察score表中sid字段 “0101”记录变化6.删除student表中sid字段“1111”的记录7.观察score表中sid字段 “1111”记录是否存在四、set null 外键设置1.删除stu数据库2.重新导入stu数据库3.为score表创建外键:fk_sid,score表中的sid与student表中的sid建立主键关联,update类型:set null;delete类型:set null4.将student表中sid字段 “0101”修改为“1111”5.观察score表中sid字段 “0101”记录变化6.将score表中的sid字段修改为允许为空7.删除student表中sid字段“1111”的记录8.观察score表中sid字段 “1111”记录是否存在五、创建外键在stu数据库的course表和score表间创建外键约束:修改course表的cno,则score表中cno字段值同步修改;不允许删除course表中记录。创建好外键后完成下列操作:1. course表中修改01号课程号为112.删除course 表中 cno为’02’的记录