[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$f_3u9MYMphKCdKCGtoGOOQ4r7oVh35mKJK4tn42Rmp0I":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":10,"question":17,"related":18,"source":28,"type":68},[],"2025-07-07 15:55:26",212081759,[8,9],"正确","错误",{"count":11,"courseId":12,"courseImg":13,"courseName":14,"workId":15,"workName":16},18,"8310812410520cde847be27c20e20cd3","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002Fb66b458e8189a4691610d3232e9b9cb2.jpg","数据库技术","exam_157099392","2024-2025下学期:第3次综合测试","truncate talbe操作可以回滚",[19,30,39,48,57,65,69,74,79,85],{"answer":20,"createTime":5,"id":21,"options":22,"question":27,"source":28,"type":29},[],212081749,[23,24,25,26],"'奇数'","null","报错","'偶数'","执行以下代码后,变量v_result的值是( ). SQlset v_num = 7;if v_num % 2 = 0 then set v_result = '奇数';else set v_result = '偶数';end if","v1",0,{"answer":31,"createTime":5,"id":32,"options":33,"question":38,"source":28,"type":29},[],212081751,[34,35,36,37],"UPDATE","CHANGE","ALTER TABLE","MODIFY COLUMN","以下哪个语句用于修改表结构",{"answer":40,"createTime":5,"id":41,"options":42,"question":47,"source":28,"type":29},[],212081753,[43,44,45,46],"DCL","DML","DQL","DDL","执行 Plain TextSELECT * FROM employee WHERE salary&gt;5000; 属于哪种SQL分类",{"answer":49,"createTime":5,"id":50,"options":51,"question":56,"source":28,"type":29},[],212081755,[52,53,54,55],"GRANT","SELECT","INSERT INTO","CREATE TABLE","以下属于数据DML(数据操作语言)的是",{"answer":58,"createTime":5,"id":59,"options":60,"question":63,"source":28,"type":64},[],212081757,[61,62],"第1组 1. 【 】语句用于删除表中的数据,保留表结构 2. 创建索引的DDL语句是【 】 3. 在存储过程中,声明整形变量的语句是【 】 4. 创建视图的DDL语句是【 】 5. 修改表结构的DDL语句是【 】","第2组 A. create index B. delete from C. declare v_count int; D. alter table tablename E. create view","根据基本概念及应用完成下列数据连线",11,{"answer":66,"createTime":5,"id":6,"options":67,"question":17,"source":28,"type":68},[],[8,9],3,{"answer":70,"createTime":5,"id":71,"options":72,"question":73,"source":28,"type":68},[],212081761,[8,9],"数据完整性约束中,外检约束可以自动创建索引",{"answer":75,"createTime":5,"id":76,"options":77,"question":78,"source":28,"type":68},[],212081763,[8,9],"存储函数可以通过return返回一个或多个值",{"answer":80,"createTime":5,"id":81,"options":82,"question":83,"source":28,"type":84},[],212081765,[],"以下基于petstore数据库的存储过程proc_check_account_security实现的业务需求是用户安全监测逻辑. SQldelimiter \u002F\u002F create procedure proc_check_account_security( )begin -- 弱密码检测 insert into security_report(userid, issue) select userid, '弱密码:长度不足或缺乏字母!' from account where length(password) &lt; 8 and password not regexp '[A-Za-z]'; -- 监测未绑定邮箱 insert into security_report(userid, issue) select userid, '邮箱未绑定!' from account where email is null;end \u002F\u002F delimiter ; 如何调用存储过程生成安全报告? 用户u0003的密码为'123456',会触发哪种问题",4,{"answer":86,"createTime":5,"id":87,"options":88,"question":89,"source":28,"type":90},[],212081767,[],"以下是基于数据完整性校验的存储过程实现,代码如下: SQldelimiter $$ create 【5】 proc_validateproduct( )begin -- 检查价格是否为正数 insert into data_issue(productid, issue) select productid, '价格必需是大于的正整数!' from product where unitprice 【3】 0; -- 检查分类是否存在 insert into data_issue(productid, issue) select productid, '分类不存在!无效分类!' from product p left join category c on p.category = 【2】.catid where 【2】.catid is null;end 【4】 delimiter ; 调用存储过程的语句是【1】. 根据业务实现完成程序补全",2]