您好,欢迎访问一九零五行业门户网

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

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怎么查询每个表有多少条记录的详细内容。
其它类似信息

推荐信息