雅虎新闻|| BBC新闻|| CNN新闻|| 美元指数|| 中国期货指数|| 股票指数|| 黄金|| 外汇|| 英汉互译|| 昭放工具
163邮箱|| 126邮箱|| 新浪邮箱|| 企业邮箱|| 21cn邮箱|| tom邮箱|| 搜狐邮箱|| hotmail邮箱|| msn邮箱|| qq邮箱

用户登录

设为主页| 淘宝铺| 加入收藏|
您的IP:3.16.15.149您的操作系统:Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
个人便签
知识库
高效查询mysql表的总记录数

 

原创 2016年02月29日 15:37:11 282500

use information_schema;

select table_name,table_rows from tables 

where TABLE_SCHEMA = 'db_name' and table_name='table_name' order by table_rows desc;

星期四, 10/12/2017 - 23:04 — 杨超