当前位置:网站首页>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 = '数据库名'
边栏推荐
- 反CSRF爆破的三种姿势
- The use and difference of watch listening and computed calculation attributes
- 内存分配——静态存储区 栈 堆 与static变量
- Buuctf-- connotative software
- Highly paid programmers & interview questions: how to ensure the data consistency between redis cache and database in series 117?
- SQL Server 数据库的统计查询
- Recommended embedded learning books [easy to understand]
- 历史上的今天:马斯克出生;微软推出 Office 365;蔡氏电路的发明者出生
- (JS)状态模式
- Report card of regional industrial Internet market, the second place of Baidu intelligent yunkaiwu
猜你喜欢
随机推荐
当技术人成长为 CEO,应该修改哪些“Bug”?
Given the values of two integer variables, the contents of the two values are exchanged (C language)
学习通否认 QQ 号被盗与其有关:已报案;iPhone 14 量产工作就绪:四款齐发;简洁优雅的软件早已是明日黄花|极客头条...
(JS)数组排平(flat)
Excel date and number format processing
基于支持向量机的手写数字识别详解(MATLAB GUI代码,提供手写板)
SQL Server 数据库增删改查语句
(JS)筛选出对象中value大于2的key
Numeric Keypad
Fully understand the volatile keyword
Ikvm Net project progress
Analysis of BlockingQueue source code of AQS
2600 pages in total! Another divine interview manual is available~
STM32F1与STM32CubeIDE编程实例-超声波测距传感器驱动
Fully understand the MESI cache consistency protocol
Binary tree
stream流(Collectors)用法
C language printf family
He was in '98. I can't play with him
Essential for efficient work: how can testers improve their communication skills?





![[FreeRTOS] 08 mutex semaphores and priority inversion](/img/16/9715d5599db6ec107c8001fbd70ae2.png)


