有一张goodsinfo表,表中某一列的值(number类型)需要按比例更新。
可以这样写吗?
update goodsinfo set price=price*1.5 where id in(...);