mysql 查询数据库中所有表名称
select table_name
from information_schema.tables
where table_schema='数据库名称';
select table_name
from information_schema.tables
where table_schema='数据库名称' and table_type = 'BASE TABLE' AND table_schema = DATABASE ();
本文来自博客园,作者:Hany47315,转载请注明原文链接:https://www.cnblogs.com/hany-postq473111315/p/15202610.html