删除某库中所有表

select concat('DROP TABLE IF EXISTS ',table_name,";") from information_schema.tables where table_schema="db1";;

  

 db1代表库名

原文地址:https://www.cnblogs.com/executive-1314/p/14853352.html