sql语句如下:将table_schema后面数据库名换成你自己的数据库名即可
SELECT count(*) TABLES, table_schema FROM information_schema.TABLES
where table_schema = 'education' GROUP BY table_schema;
版权声明:本文为xinghaifeng2006原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。
sql语句如下:将table_schema后面数据库名换成你自己的数据库名即可
SELECT count(*) TABLES, table_schema FROM information_schema.TABLES
where table_schema = 'education' GROUP BY table_schema;