MySQL查询数据库中所有数据表的数据条数

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

  

猜你喜欢

转载自www.cnblogs.com/yulongcode/p/11395928.html