mysql连接其他表删除某个表的数据

1 delete a from TableA a 
2 left join TableB b on a.XX = b.YY
3 left join TableC c on c.ZZ = a.XX
4 where 条件

 

posted @ 2015-12-29 17:12  燎原小火  阅读(482)  评论(0编辑  收藏  举报