mysql怎么查询每个表有多少条记录

来源:这里教程网 时间:2026-02-28 13:33:53 作者:

mysql查询每个表分别有多少条记录的方法

(推荐教程:mysql视频教程)

执行如下SQL语句:

use information_schema;
select table_name,table_rows from tables where TABLE_SCHEMA = '数据库的名称' order by table_rows desc;

相关推荐:mysql教程

相关推荐