MySQL 数据库查询所有表名

select table_name from information_schema.tables where table_schema='db_name';

  db_name为自己的数据库名

posted @ 2021-11-02 14:40  西门长海  阅读(161)  评论(0)    收藏  举报