查找指定库中所有表名
select table_name from information_schema.tables where table_schema='db_name';
注:替换db_name为自己的数据库名
示例
select table_name from information_schema.tables where table_schema='db_name';
注:替换db_name为自己的数据库名
转载于:https://www.cnblogs.com/ibigboy/p/11139257.html