mysql中如何统计一个数据库中每张表的行数?

如题所述

可以实现
use
information_schema;
select
table_name,table_rows
from
tables
where
TABLE_SCHEMA
=
'数据库名'
order
by
table_rows
desc;
查询出来的是每张表的行数
温馨提示:答案为网友推荐,仅供参考
相似回答