mysql在Update带有子查询的时候,子查询的表会锁住,导致该表无法使用。比如 update A set comments = (select count(1) from B where id = A.id) where id = 123;up 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交