- 博客(1)
- 资源 (1)
- 收藏
- 关注
转载 解决You can't specify target table 'tbmsg' for update in FROM clause
mysql中You can't specify target table for update in FROM clause错误的意思是说,不能先select出同一表中的某些值,再update这个表(在同一语句中)。 例如下面这个sql: delete from tbl where id in ( select max(id) from tbl a where EXI
2015-06-25 10:43:53 184
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人