触摸屏租赁
Touch screen rental
广告机租赁
Advertising rental
机器人租赁
Robot leasing
 当前位置:首页 > > sql 更新语句中的某个值为0,则为其赋值1

sql 更新语句中的某个值为0,则为其赋值1

UPDATE Products SET state = (case when state =0 then 1 else 0 end)
$saves=mysql_query("UPDATE Products SET state = (case when state =0 then 3 else 0 end) WHERE id in (".$delid.")");


工作室地址:重庆石桥铺电脑城B座 | 微信:z35544216 | 网址:www.35544216.com