SQL update 语句 做减法运算 sql java库存数据库减法运算 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 update tb set num=num-100where num=1000; update tableX set num=num-100 如果整张表的num都要减100,如下update table set num = num - 100如果只把num = 1000的减100,如下update table set num = num - 100 where num = 1000; MySQL如何关联两个表项 mysql workbench 对路径:“c:\...\M...Workbench CE 5.2.35\db_utils.pyc的访问被拒绝 如何使用MySQL-Proxy进行数据库连接切换? 数据二进制存储问题 请高手帮看下3306端口的问题 关系代数怎么表示分组排序 请问如何安装与配置MySQL server 5.0 !!!!!谁帮我解决我送谁100分!!!!本人在线等着答案!!!! 查询问题(mysql) Mysql 导入报错 error code:1166 float 急急急!!!!!!! 请问InnoDB Read指的是什么?
where num=1000;
如果整张表的num都要减100,如下
update table set num = num - 100如果只把num = 1000的减100,如下
update table set num = num - 100 where num = 1000;