MySQL统计各个表中的记录数

通过下面的SQL语句可以统计出数据库的各个表中的记录数:

select table_schema, table_name,table_rows
from information_schema.tables
where table_schema='数据库名';

原文地址:https://www.cnblogs.com/sirxy/p/11800352.html