当前位置:网站首页>MySQL gets fields and comments by indicating
MySQL gets fields and comments by indicating
2022-06-24 21:59:00 【Vransy.】
SELECT
column_name,
( CASE WHEN ( is_nullable = 'no' && column_key != 'PRI' ) THEN '1' ELSE NULL END ) AS is_required,
( CASE WHEN column_key = 'PRI' THEN '1' ELSE '0' END ) AS is_pk,
ordinal_position AS sort,
column_comment,
( CASE WHEN extra = 'auto_increment' THEN '1' ELSE '0' END ) AS is_increment,
column_type
FROM
information_schema.COLUMNS
WHERE
table_schema = (
SELECT DATABASE
())
AND table_name = ( ' Your watch name ' )
ORDER BY
ordinal_position;
边栏推荐
- Elegant custom ThreadPoolExecutor thread pool
- 堆排序和快速排序原理实现
- 【论】A deep-learning model for urban traffic flow prediction with traffic events mined from twitter
- 【吴恩达笔记】机器学习基础
- 专科出身,2年进苏宁,5年跳阿里,论我是怎么快速晋升的?
- Drag drag drag
- LeetCode-513. Find the value in the lower left corner of the tree
- 虚拟机CentOS7中无图形界面安装Oracle(保姆级安装)
- 【Camera基础(一)】Camera摄像头工作原理及整机架构
- Prompt that the device has no permission when using ADB to connect to the device
猜你喜欢
![[featured] how do you design unified login with multiple accounts?](/img/df/9b4fc11a6971ebe8162ae84250a782.png)
[featured] how do you design unified login with multiple accounts?

Fuzhou business office of Fujian development and Reform Commission visited the health department of Yurun university to guide and inspect the work
![[camera Foundation (I)] working principle and overall structure of camera](/img/5d/c29d636a90d01e5c3852df2a0dd833.png)
[camera Foundation (I)] working principle and overall structure of camera

Multiplexer select

PyCharm 中出现Cannot find reference ‘imread‘ in ‘__init__.py‘

Datakit agent realizes unified data aggregation in LAN

C language - keyword 1

Datakit 代理实现局域网数据统一汇聚

Make tea and talk about heroes! Leaders of Fujian Provincial Development and Reform Commission and Fujian municipal business office visited Yurun Health Division for exchange and guidance

好想送对象一束花呀
随机推荐
刷题笔记(十八)--二叉树:公共祖先问题
socket(2)
心楼:华为运动健康的七年筑造之旅
福建省发改委福州市营商办莅临育润大健康事业部指导视察工作
leetcode1863_2021-10-14
leetcode_ 1470_ 2021.10.12
想当测试Leader,这6项技能你会吗?
01--- conditions for interference of two trains of waves at the meeting place
[featured] how do you design unified login with multiple accounts?
多路转接select
传输层 udp && tcp
leetcode-201_ 2021_ 10_ seventeen
使用region折叠代码
Blender FAQs
[untitled]
STL+树
印刷行业的ERP软件的领头羊
Multithreaded finalization
leetcode_1365
Visit Amazon memorydb and build your own redis memory database