删除以某字符串开头的表

SELECT CONCAT('drop table ', table_name, ';')
FROM information_schema. TABLES
WHERE table_name LIKE 'xxx_%';

原文地址:https://www.cnblogs.com/ww25/p/12753919.html