如何使用联接删除mysql行

问题描述 投票:1回答:2
("delete from entity_map2 where canon_id in (select canon_id from 
entity_map_session2 where canon_id in (select canon_id from 
entity_map_session2 group by canon_id having count(canon_id) < 10))")

我想加快上述操作。最好的方法是什么?

python mysql
2个回答
0
投票

DROP TABLE IF EXISTS table1, table2;

© www.soinside.com 2019 - 2024. All rights reserved.