SQL中使用update inner join和delete inner join

update的格式是

update tableA set tableA .name=’***’ from tableA inner join tableAB on tableA .id = tableAB.tid

delete 语句也是类似

delete from tableA from tableA inner join tableAB on tableA .id = tableAB.id

原文地址:https://www.cnblogs.com/zxjyuan/p/1781154.html