MySQL 数据库查询所有表名

58 阅读1分钟
select table_name from information_schema.tables where table_schema='db_name';

db_name为自己的数据库名