mysql 查询每张数据表的数据条数
1. mysql 如何查询每张数据表的数据条数
use information_schema;
select table_name,table_rows from tables
where TABLE_SCHEMA = '数据库名'
order by table_rows desc;搜索
查询出来的是每张表的行数
2. mysql 如何查询表前100行
select * from table1 limit 10
张春平的个人博客
1. mysql 如何查询每张数据表的数据条数
use information_schema;
select table_name,table_rows from tables
where TABLE_SCHEMA = '数据库名'
order by table_rows desc;搜索
查询出来的是每张表的行数
2. mysql 如何查询表前100行
select * from table1 limit 10