刚开始这样写,然后报了一个
[Err] 1093 - You can’t specify target table ‘’ for update in FROM clause
这个错误的原因是:更新这个表的同时又查询了这个表,查询这个表的同时又去更新这个表的同时查询这样会造成死锁
You can't specify target table '' for update in FROM clause
试了半天,终于成功了
You can't specify target table '' for update in FROM clause
You can't specify target table '' for update in FROM clause

相关文章:

  • 2021-07-01
  • 2021-11-07
  • 2021-06-20
  • 2021-06-14
  • 2022-01-08
  • 2022-01-19
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-24
  • 2021-05-20
  • 2022-01-12
  • 2021-09-12
  • 2022-12-23
  • 2021-06-28
相关资源
相似解决方案