select concat('DROP TABLE IF EXISTS ',table_name,";") from information_schema.tables where table_schema="db1";;
db1代表库名
2024-02-08 10:32:46
select concat('DROP TABLE IF EXISTS ',table_name,";") from information_schema.tables where table_schema="db1";;
db1代表库名