原文:mysql错误:1093-You can’t specify target table for update in FROM clause的解决方法

update语句中包含的子查询的表和update的表为同一张表时,报错: You can t specify target table for update in FROM clause mysql不允许update目标表和子查询里面的表为同一张表 错误sql:UPDATE mg brand set status where iID SELECT id from mg industry where ...

2019-12-16 16:11 0 2137 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM