热线电话:13121318867

登录
2019-02-26 阅读量: 1419
sql语句中加上一个负数怎么写

问题描述:

$sql ="update lzh_cds_items set ci_fetch_num = ci_fetch_num+(-20)";

这么写对吗?

解决方法:

$sql ="update lzh_cds_items set ci_fetch_num = ci_fetch_num-20";
0.0000
1
关注作者
收藏
评论(0)

发表评论

暂无数据
推荐帖子