update where in 子查询的梗

update tb where a in(select a from tb2)

当子查询出现语句错误会更新全部,记录下这个坑!

原文地址:https://www.cnblogs.com/zengtianli/p/14683753.html