MySQL中嵌套子查询删除出错解决方案

MySQL中嵌套子查询作删除操做会出错,例以下面的SQL: delete from table1 where number in (select number from table2) 执行提示: You can't specify target table 'table1' for update in FROM clause 错误码: 1093  缘由:所删除表的在子查询中出现,就会出错,固然,
相关文章
相关标签/搜索