从两个表中找出相同记录的数据并把两个表中的数据都删除掉
栗子:
DELETE t1,t2 from t1 LEFT JOIN t2 ON t1.id=t2.id WHERE t1.id=25
栗子:
DELETE meta_pfprofile,
meta_customer_info
FROM
meta_pfprofile
LEFT JOIN meta_customer_info ON meta_pfprofile.META_PFPROFILE_ID = meta_customer_info.META_RELATIONPFID
WHERE
meta_pfprofile.META_USER_NAME = '123456'
参考连接:https://www.cnblogs.com/jjzd/p/5616196.html