COMPLEX-B

导航

2019年5月23日 #

mysql根据自身数据更新自身表

摘要: 但是mysql是不支持在子查询中引用更新目标表的数据库。那我们要怎么来搞呢 创建零时表的方式: update emp set ename='赤脚大仙' where id in (SELECT e.id from (select id from emp where id 1010) e) 阅读全文

posted @ 2019-05-23 17:33 COMPLEX-B 阅读(2044) 评论(0) 推荐(0) 编辑