千家信息网

Mysql常用命令锦集

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

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

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

0