mysql 删除两张表重复的记录,表的量级为千万条数据,两张表结构相同。
A表:id
        1
        2
        3
        4
        5
B表:id
        2
        4
        6
希望能删除A表中的
        2
        4
这些数据
delete from a where id in(select id from b)
Last modification:October 1, 2017
If you think my article is useful to you, please feel free to appreciate