这样的sql怎么写呀
我写的这个有错误 update account set remnant =(remnant-10) where remnant in (select remnant from account where id=2)
我写的这个有错误 update account set remnant =(remnant-10) where remnant in (select remnant from account where id=2)
解决方案 »
- 求sql语句
- 递归树的比较
- 存储过程
- 企业级mysql超诡异问题,期望遇到高手
- I have download the sourcecode of the Mysql . but I can not find the development document(I have try my best to do it )
- 哪条SQL效率高?
- mysql中两张表进行联合查询
- 如何在php中使用下列mysql语句?
- MYsql 启动不了,求助
- 关于java eclipse连接数据库出现java.sql.SQLException
- mysql中 不同数据库间 不同表结构的表之间的数据传输问题
- 菜鸟弱弱的问mysql存储过程问题,在线等!
You can't specify target table 'account' for update in FROM clauseExecution Time : 00:00:00:000
Transfer Time : 00:00:00:000
Total Time : 00:00:00:000
set a.remnant =(a.remnant-10)
where a.remnant=b.remnant