MySQL:实例:查询一个数据库的所有非空表,并按所含记录数降序排列;
select table_schema,table_name,table_rows from information_schema.tables where table_schema='数据库名' and table_rows!=0 order by table_rows desc
PS:
MySQL:实例:查询一个数据库的所有非空表,并按所含记录数降序排列;
select table_schema,table_name,table_rows from information_schema.tables where table_schema='数据库名' and table_rows!=0 order by table_rows desc
PS: