[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fflIhiW631CLe6ec3TQa_IF-EsT3szGg1SUw5vB30dgs":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":30,"type":31},[],"2024-03-27 08:32:03",135803680,[8,9,10,11],"DELETE FROM student FOR age&lt;30","DELETE TABLE student WHERE age&lt;30","TRUNCATE TABLE student WHERE age&lt;30","DELETE FROM student WHERE age&lt;30",{"count":13,"courseId":14,"courseImg":15,"courseName":16,"workId":17,"workName":18},50,"10a0c5eca2a49a7240af8a665c86c565","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F1e91572810e1b6cfc01c258d6850a27d.png","数据库技术与应用","work_33650967","作业4003数据操纵与索引(5-6章)","学生表student中,将年龄小于30岁的记录删除,下面的",[21,32,41,50,59,68,77,84,93,102],{"answer":22,"createTime":5,"id":23,"options":24,"question":29,"source":30,"type":31},[],135803671,[25,26,27,28],"INSERT &hellip;&hellip;VALUES","INSERT&hellip;&hellip; SELECT","INSERT &hellip;&hellip;SET","INSERT &hellip;&hellip;WHERE","不能进行记录添加的命令是","v1",0,{"answer":33,"createTime":5,"id":34,"options":35,"question":40,"source":30,"type":31},[],135803672,[36,37,38,39],"CREATE","SHOW","REPLACE WITH","UPDATE","实现数据更新的SQL命令是",{"answer":42,"createTime":5,"id":43,"options":44,"question":49,"source":30,"type":31},[],135803673,[45,46,47,48],"TRUNCATE TABLE等价于DELETE FROM","不带WHERE子句的DELETE命令是删除所有记录,但保留结构信息","TRUNCATE语句的执行速度更快","DELETE语句所占用的系统和事务日志资源更少","关于TRUNCATE和DELETE,下列说法错误的是",{"answer":51,"createTime":5,"id":52,"options":53,"question":58,"source":30,"type":31},[],135803674,[54,55,56,57],"执行后,插入一条记录(&quot;Lily&quot;,NULL,25)","执行后,插入一条新记录,name、sex、age的值分别为&quot;Lily&quot;,&quot;男&quot;,25","执行后,插入一条新记录,name、sex、age的值分别为&quot;Lily&quot;,'',25","语句有误,不执行","设有学生表student,包括name、sex、age三个字段,sex的默认值为&quot;男&quot;,执行SQL语句INSERT INTO student(name,age) VALUES(&quot;Lily&quot;,25),下面说法正确的是",{"answer":60,"createTime":5,"id":61,"options":62,"question":67,"source":30,"type":31},[],135803675,[63,64,65,66],"INSERT INTO student(name,age) VALUES(&quot;Matthew&quot;,20)","INSERT INTO student VALUES(&quot;Matthew&quot;,DEFAULT,20)","INSERT INTO student VALUES(&quot;Matthew&quot;,20)","INSERT INTO student SET name=&quot;Matthew&quot;,age=20","设有学生表student,包括name、sex、age三个字段,sex的默认值为&quot;男&quot;,插入一条新记录(&quot;Matthew&quot;,&quot;男&quot;,20),以下不正确的是",{"answer":69,"createTime":5,"id":70,"options":71,"question":76,"source":30,"type":31},[],135803676,[72,73,74,75],"DROP TABLE student","DELETE TABLE student","ALTER TABLE student DROP student","TRUNCATE TABLE student","删除学生表student,正确的SQL语句是",{"answer":78,"createTime":5,"id":79,"options":80,"question":83,"source":30,"type":31},[],135803677,[81,75,72,82],"DELETE student","SELECT TABLE student","清空学生表student中的记录信息,但保留表的结构信息,正确的SQL语句为",{"answer":85,"createTime":5,"id":86,"options":87,"question":92,"source":30,"type":31},[],135803678,[88,89,90,91],"对数据库student做更新操作","表中所有记录的age字段值增加1","表中女生记录的年龄增加1岁","表中女生记录的年龄为1","SQL语句UPDATE student SET age=age+1 WHERE sex=&quot;女&quot;",{"answer":94,"createTime":5,"id":95,"options":96,"question":101,"source":30,"type":31},[],135803679,[97,98,99,100],"将表中所有记录均修改为(&quot;Amy&quot;,&quot;男&quot;,30)","若表中存在name为&quot;Amy&quot;的记录,则将该记录其他字段进行更新","插入一条新记录(&quot;Amy&quot;,&quot;男&quot;,30)","插入一条新记录(&quot;Amy&quot;,null,30)","对于学生表student,执行命令REPLACE INTO student SET name=&quot;Amy&quot;,age=30",{"answer":103,"createTime":5,"id":6,"options":104,"question":19,"source":30,"type":31},[],[8,9,10,11]]