SQL中删除多表数据

来源:互联网 发布:工厂方法模式 java 编辑:程序博客网 时间:2024/05/09 01:15
 

1、delete from t1 where 条件

2、delete t1 from t1 where 条件

3、delete t1 from t1,t2 where 条件

4、delete t1,t2 from t1,t2 where 条件

前3个是可行的,第4个不可行。

原创粉丝点击