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 ) update t_mail_marketing set `STATUS` = 1 wh
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 ) update t_mail_marketing set `STATUS` = 1 wh