标签:target for SQ can distinct you tin sel where
update t_mail_marketing set `STATUS` = 1 where ID in ( select b.PARENT_ID from (SELECT DISTINCT a.PARENT_ID from t_mail_marketing a where a.`STATUS`=1 and a.PARENT_ID IS NOT NULL and a.PARENT_ID>0)b )
You can't specify target table 't_mail_marketing' for update in FROM clause
标签:target for SQ can distinct you tin sel where
原文地址:https://www.cnblogs.com/wanhua-wu/p/8946127.html