mysql 查询sql

查询数据库中每个表的行数:

use information_schema;

select table_name,table_rows from tables
where TABLE_SCHEMA = '数据库名'
order by table_rows desc;

 

posted @ 2019-05-15 15:13  pad+  阅读(189)  评论(0编辑  收藏  举报