在SQL中,经常用到关联查询,比如select a.* from A a inner join B b on a.PId=b.FId where 条件,SQL中也支持类似的关联更新和关联删除. 关联更新语法: update a set a.字段=” from A a inner join B b on a.PId=b.FId where 条件 关联删除语法: delete from a from A a inner join B b on a.PId=b.FId where 条件 注解:A,B为…