99999久久久久久亚洲,欧美人与禽猛交狂配,高清日韩av在线影院,一个人在线高清免费观看,啦啦啦在线视频免费观看www

熱線電話:13121318867

登錄
2019-02-18 閱讀量: 905
SQL 1093錯(cuò)誤

SQL語(yǔ)句如下:

update t_account set balance=(
select balance-?
from t_account
where account=?)
where account=?;

報(bào)錯(cuò)如下:

[SQL]update t_account set balance=(

select balance-200

from t_account

where account=12345)

where account = 12345;

[Err] 1093 - You can't specify target table 't_account' for update in FROM clause

答:

解決方法:

update t_account set balance=balance-?
where account=?;
0.0000
5
關(guān)注作者
收藏
評(píng)論(0)

發(fā)表評(píng)論

暫無(wú)數(shù)據(jù)
推薦帖子