mysql 显示表名和表数量

SELECT count(*) FROM information_schema.TABLES WHERE TABLE_SCHEMA='dbname';

SELECT * FROM information_schema.TABLES WHERE TABLE_SCHEMA='dbname';

posted @ 2016-11-30 13:40  蓝色枫梦  阅读(421)  评论(0)    收藏  举报