mysql查询数据库中的每个表有多少条记录
hellowater_mayang 是数据库的名称.
运行如下语句:
use information_schema;
select table_name,table_rows from tables where TABLE_SCHEMA = 'hellowater_mayang'
order by table_rows desc;
记录下,以备下次查.
mysql查询数据库中的每个表有多少条记录
hellowater_mayang 是数据库的名称.
运行如下语句:
use information_schema;
select table_name,table_rows from tables where TABLE_SCHEMA = 'hellowater_mayang'
order by table_rows desc;
记录下,以备下次查.