A-A+

下面选项中 更新account表中money字段值 其取值在100-200之间 现在将money字段值增加50 能够正确执行上述要求的SQL语句是

2024-04-26 18:12:15 网课题库 阅读

问题详情

下面选项中,更新account表中money字段值,其取值在100-200之间,现在将money字段值增加50,能够正确执行上述要求的SQL语句是

A.update account set money + 50 where money >=100 and money <=200;

B.update account set money = money + 50 where money >=100 or money <=200;

C.update account set money = money + 50 where money between 100 and 200;

D.update account set money = money + 50 where money <=200 and money >=100;

参考答案

update account set money = money + 50 where money between 100 and 200;;update account set money = money + 50 where money <=200 and money >=100;

考点:字段,正确,现在
Copyright © 2018-2024 问答库 保留所有权利.   SiteMap  .