批量删除多表
删除所有表里面含有20的表
SELECTCONCAT('droptable',table_name,';')FROMinformation_schema.tableswhere
information_schema.tables.TABLE_NAMELIKE'%20%';
SELECTCONCAT('droptable',information_schema.tables.TABLE_NAME,';')FROMinformation_schema.tableswhere
information_schema.tables.TABLE_NAMELIKE'%20%';
'%20%';将得到的结果复制下来,再重新执行!