sql语句delete----关联两表删除两表内容

关联两表删除两表内容

delete t1,t2 

from t_pic as t1 left join t_pic_muc_comments as t2 on t1.pmcid=t2.pmcid 
where t1.pid=1
展开阅读全文

没有更多推荐了,返回首页