当前位置:Gxlcms > 数据库问题 > mysql怎么查看数据库有多少张表

mysql怎么查看数据库有多少张表

时间:2021-07-01 10:21:17 帮助过:94人阅读

SELECT COUNT(*) TABLES, table_schema FROM information_schema.TABLES   WHERE table_schema = ‘dbname‘ GROUP BY table_schema;

 

dbname是数据库的名称

mysql怎么查看数据库有多少张表

标签:schema   group   color   from   mysq   where   class   table   dbn   

人气教程排行