2021年9月计算机二级考试MY SQL考前冲刺练习及答案(二)
1)delete from student where s_id > 5 的代码 如果取消 where s_id > 5 ,执行 delete from student 语句后的结果意味着什么?()。
A 删除表student
B 删除表student的所有记录
C 删除数据库student
D 语句不完整,不能执行
2)修改操作的语句 update student set s_name =N’王军’ 该代码执行后的结果是:()。
A 只把姓名叫王军的记录进行更新
B 只把字段名s_name 改成 N’王军’
C 表中的所有人姓名都更新为王军
D 更新语句不完整,不能执行
3)请把下划处的代码补充完整:()。
______ into student (s_name) ______(N’王大军’)
A update, values
B insert, value
C insert, values
D delete, like
4)(@@error = 0) 该代码表示的含义是:()。
A 找到至少一个错误
B 没有任何一个错误
C 错误的编号是0
D 发生了除数为0的错误
5)开始事务,提交事务,回滚事务的英语单词分别是:()。
A begin transaction , rollback transaction , commit transaction
B commit transaction , rollback transaction , begin transaction
C rollback transaction , begin transaction , commit transaction
D begin transaction , commit transaction , rollback transaction
参考答案:BCCCD
以上就是“2021年9月计算机二级考试MY SQL考前冲刺练习及答案(二)”及其相关内容,想及时获知各地准考证打印及考试时间,大家可通过环球网校“ 免费预约短信提醒”及时获得时间提醒。环球网校友情提示:为方便小伙伴们更好地备考,环球网校特地为大家准备了计算机二级复习资料,如有需要请点击文章下方“免费下载>>>2021年计算机二级考试模拟练习及备考资料”下载学习。