好像只有在 mysql 中有此限制,解决方法就是不要在 update 的 where 语句中直接使用 select 子查询,再嵌套一层就可以了。。。

例如:update tablename set xx=0 where id in (select id from (select id from anothertable) as t)

相关文章:

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