繁星点点滴滴
只能拼接SQL语句然后动态执行了。。。set @str = (select concat('drop table ', group_concat(table_name separator ','),';')from information_schema.tableswhere table_schema = 'your_schema' and table_name like 'WP__%');prepare stmt from @str;execute stmt;deallocate prepare stmt;