但是mysql是不支持在子查询中引用更新目标表的数据库。那我们要怎么来搞呢 创建零时表的方式: update emp set ename='赤脚大仙' where id in (SELECT e.id from (select id from emp where id >1010) e) 来源:https://www.cnblogs.com/zhz-8919/p/10913337.html 标签 mysql 大数据 mysql创建数据库 mysql创建表 select emp