查看Mysql数据库中所有表的记录数的sql代码如下:
use information_schema;
select table_name,table_rows from tables
where TABLE_SCHEMA = '数据库名'
order by table_rows desc;
查看Mysql数据库中所有表的记录数的sql代码如下:
use information_schema;
select table_name,table_rows from tables
where TABLE_SCHEMA = '数据库名'
order by table_rows desc;