源码之家

  • 首页
  • 文章
  • 问答
  • 下载
您的位置: 首页  >  文章  >  1093 - You can't specify target table 'table' for update in FROM clause

1093 - You can't specify target table 'table' for update in FROM clause

分类: 文章 • 2025-01-29 20:26:04

1093 - You can't specify target table 'table' for update in FROM clause

大致意思 是 不能先将select出表中的某些值,再update这个表(在同一语句中)

 

可以引入一个临时表进行操作

delete from push_plans WHERE id in 
(
     select id from 
     (
         select id from push_plans WHERE  area_id = 0
         
     ) as t
) 

 

相关推荐

  • You can't specify target table 'a' for update in FROM clause
  • You can't specify target table '' for update in FROM clause
  • 1093 - You can't specify target table 'table' for update in FROM clause
  • MySQL 中 You can't specify target table '表名' for update in FROM clause错误解决办法
  • 第三篇 You can't specify target table 'xxx' for update in FROM clause
  • MYSQL之You can't specify target table for update in FROM clause解决办法
  • MySQL中You can't specify target table 'fangyuan' for update in FROM clause完美解决
  • MySQL 中 You can't specify target table '表名' for update in FROM clause错误解决办法
  • mysql出现“ You can't specify target table '表名' for update in FROM clause”解决方法
  • MYSQL之You can't specify target table for update in FROM clause解决办法
  • 吴恩达 deep learning 第三周 浅层神经网络
  • 全渠道消费场景购物痛点:速度和便利性
    网站免责声明 网站地图 最新文章 用户隐私 版权申明
本站所有数据收集于网络,如果侵犯到您的权益,请联系网站进行下架处理。   

Copyright © 2018-2021   Powered By 源码之家    备案号:   粤ICP备20058927号