mysql查询每张表有多少条记录
mysql查询每个表有多少条记录的方法:执行【select table_name,table_rows from tables where TABLE_SCHEMA = '数据库的名称';】语句即可。
mysql查询每个表分别有多少条记录的方法
执行如下SQL语句:
use information_schema; select table_name,table_rows from tables where TABLE_SCHEMA = '数据库的名称' order by table_rows desc;