mysql查询每个表有多少条记录的方法:执行【select table_name,table_rows from tables where TABLE_SCHEMA = '数据库的名称';】语句即可。

mysql查询每个表分别有多少条记录的方法
(推荐教程:mysql视频教程)
执行如下SQL语句:
use information_schema;
select table_name,table_rows from tables where TABLE_SCHEMA = '数据库的名称' order by table_rows desc;相关推荐:mysql教程
以上就是mysql怎么查询每个表有多少条记录的详细内容,转载自php中文网

发表评论 取消回复