You can‘t specify target table ‘表名‘ for update in FROM clause

mysql執行刪除語句時提示You can't specify target table '表名' for update in FROM clause,意思是說不能依據某字段值做判斷再來更新某字段的值,修改sql語句: DELETE from ntm_third_user where id in ( SELECT a.id from (SELECT t.id FROM `ntm_third_use
相關文章
相關標籤/搜索