admin管理员组

文章数量:1567750

2023年12月22日发(作者:)

将B表的值更新到A表:

update A set a = (select b from B where = ) where exists(select 1 from B where id = ) and 。。。

同时删除多表数据:

delete A,B from A,B where = and 。。。

or

delete from A,B using A,B where = and 。。。[/size]

本文标签: 自增字段数据删除进行