mysql 统计每张表的记录数

USE information_schema;

 

SELECT table_name,table_rows FROM TABLES WHERE TABLE_SCHEMA = 'education' ORDER BY table_rows DESC; 

 

education 为要统计的数据库名

posted @ 2020-04-24 11:15  程式交易  阅读(1410)  评论(0编辑  收藏  举报