sql语句表连接删除

DELETE 表1,表2FROM 表1 LEFT JOIN 表2 ON 表1.id=表2.id WHERE 表1.id=需要删除的ID

 

posted @ 2019-01-22 11:13  闫超辉  阅读(677)  评论(0编辑  收藏  举报