自学网,戚风蛋糕做法,张翼林
q4.which two statements are true about data manipulation language (dml) statements?
a. an insert into…values.. statement can add multiple rows per execution to a table.
b. an update… set… statement can modify multiple rows based on multiple conditions on a table.
c. a delete from….. statement can remove rows based on only a single condition on a table.
d. an insert into… values….. statement can add a single row based on multiple conditions on a table.
e. a delete from….. statement can remove multiple rows based on multiple conditions on a table.
f. an update….set…. statement can modify multiple rows based on only a single condition on a table.
answer: be
解析:
a. an insert into…values..?语句每次执行可以向表添加多行。
b. an update… set…?语句可以基于表上的多个条件修改多行。
正确,oracle支持多条件更新多行。
c. a delete from…..?语句只能基于表上的单个条件删除行。
错误,还可以以多条件删除行数据,如选项e。
d. an insert into… values…..?语句可以基于表上的多个条件添加单个行。
错误,oracle不支持多条件插入。
e. a delete from….. 语句可以基于表上的多个条件删除多行。
正确,oracle支持多条件删除。
f. an update….set….语句只能基于表上的单个条件修改多行。
错误,oracle还支持多条件更新多行,如选项b。
如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复
Oracle字符串函数length、upper、lower、initcap、 concat、instr、replace
网友评论