update的格式是
update t1 set t1.name=’Liu’ from t1 inner join t2 on t1.id = t2.tid
delete 语句也是类似
delete from t1 from t1 inner join t2 on t1.id = t2.tid
时间: 2024-11-07 00:19:13
update的格式是
update t1 set t1.name=’Liu’ from t1 inner join t2 on t1.id = t2.tid
delete 语句也是类似
delete from t1 from t1 inner join t2 on t1.id = t2.tid