DELETE tb_a FROM table_a AS tb_a INNER JOIN (SELECT * FROM table_a where name like '123%') AS tb_b ON tb_b.id = tb_a.id;
MySQL 删除查询出来的数据
于 2019-06-11 17:54:47 首次发布
DELETE tb_a FROM table_a AS tb_a INNER JOIN (SELECT * FROM table_a where name like '123%') AS tb_b ON tb_b.id = tb_a.id;