Mysql删除所有表

SELECT CONCAT('DROP TABLE IF EXISTS ', table_name, ';')
FROM information_schema.tables
WHERE table_schema = 'pqsdb_pesticides';

  执行之后,把结果复制到查询窗口中,执行即可。

原文地址:https://www.cnblogs.com/songxingzhu/p/5195792.html