比如,我要改商品(product) 里的面的价格(price),给它批量加价0.1元。sql="select top 9 * from product where price order by d_id desc" 就像这个差不多。反正price是在product这个里面的。怎么批量加0.1呢。请高手帮一下。
假设product里只有d_id 和 price这两个字段就行了。怎么批量更新price里的价格并且是加价0.1的更新,请高手帮忙。谢谢。
...全文
637打赏收藏
批量加价更新
比如,我要改商品(product) 里的面的价格(price),给它批量加价0.1元。sql="select top 9 * from product where price order by d_id desc" 就像这个差不多。反正price是在product这个里面的。怎么批量加0.1呢。请高手帮一下。 假设product里只有d_id 和 price这两个字段就行了。怎么批量更新price里的价格并且是加价0.1的更新,请高手帮忙。谢谢。