千家信息网

Mysql常用命令锦集

发表于:2024-10-25 作者:千家信息网编辑
千家信息网最后更新 2024年10月25日,1、统计指定数据库中的表的行数:use information_schema;select table_name,table_rows from tables where TABLE_SCHEMA =
千家信息网最后更新 2024年10月25日Mysql常用命令锦集

1、统计指定数据库中的表的行数:

use information_schema;
select table_name,table_rows from tables where TABLE_SCHEMA = 'databasename' order by table_rows desc;

0