MySQL:按后缀缀批量删除表格

Select CONCAT( 'drop table ', table_name, ';' )
FROM information_schema.tables
Where table_schema='socialnetwork' and table_name LIKE 'zeai_lovebhistory%';

原文地址:https://www.cnblogs.com/qq1069284034/p/8204485.html