MySQL:按后缀缀批量删除表格
Select CONCAT( 'drop table ', table_name, ';' )
FROM information_schema.tables
Where table_schema='socialnetwork' and table_name LIKE 'zeai_lovebhistory%';
Select CONCAT( 'drop table ', table_name, ';' )
FROM information_schema.tables
Where table_schema='socialnetwork' and table_name LIKE 'zeai_lovebhistory%';