当前位置:网站首页>Mysql获取表信息
Mysql获取表信息
2022-06-29 10:00:00 【绅士jiejie】
获取所有的表信息,参考sql
SELECT
TABLE_NAME,//表名
TABLE_COMMENT //表注释
FROM
INFORMATION_SCHEMA.TABLES
获取指定数据库下的表信息,参考sql
SELECT
TABLE_NAME,//表名
TABLE_COMMENT //表注释
FROM
INFORMATION_SCHEMA.TABLES
WHERE
TABLE_SCHEMA = '数据库名'
边栏推荐
- 最后的 48 小时!云 XR 专题赛邀你一起绽放精彩,我们赛场见!
- 2600 pages in total! Another divine interview manual is available~
- np.astype()
- Report card of regional industrial Internet market, the second place of Baidu intelligent yunkaiwu
- Ningde era Kirin battery has greater ambition
- ZABBIX monitors various MySQL indicators
- SQL Server 数据库的统计查询
- (JS)数组中纯函数
- (JS)手写bind函数
- Highly paid programmers & interview questions: how to ensure the data consistency between redis cache and database in series 117?
猜你喜欢

Analysis of reentrantlock source code of AQS

UserWarning: Usage of dash-separated ‘script-dir‘ will not be supported in future versions. 笔记

世界上第一个“半机械人”去世,改造自己只为“逆天改命”

QT writing IOT management platform 37- logic design

Luoqingqi: has high-end household appliances become a red sea? Casati took the lead in breaking the game

Buuctf-- connotative software

He was in '98. I can't play with him

# 【OpenCV 例程200篇】214. 绘制椭圆的参数详解

Essential for efficient work: how can testers improve their communication skills?

你的项目需要自动化测试吗?
随机推荐
Is it safe to open a securities account? Is it reliable?
(JS)数组的 pop、push、unshift、shift分别是什么?
Dormitory maintenance management system based on stm32+rfid design
Mongodb tutorial Chapter 02 mongodb installation
Reids设计与实现
arcgis创建postgre企业级数据库
任职 22 年,PowerShell 之父将从微软离职:曾因开发 PowerShell 被微软降级过
这个mySQL安装的时候怎么搞去了?
SQL Server 数据库增删改查语句
Atomic explanation of AQS
VI退出 退出VIM 适用新手
(JS)状态模式
请问,flink sql 批任务,两表或多表join(inner join 或 outer join
他98年的,我玩不过他...
Software test model (V model and W model)
Binary tree
Real test = "half product + Half development"?
(JS)模仿一个instanceof方法
【C语言进阶】自定义类型
(JS)isNaN()方法判断undefined为true的原因