mysql 查询数据库中所有表名称
时间:2021-08-30 14:02:02
收藏:0
阅读:8
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 ();
原文:https://www.cnblogs.com/hany-postq473111315/p/15202610.html
评论(0)