select COLUMN_NAME,column_comment from information_schema.COLUMNS where table_name = 'db_car_apply'
-- 查询表字段
select COLUMN_NAME from information_schema.COLUMNS where table_name = '表名' and table_schema = '数据库名';
该博客聚焦于MySQL中查询表和列信息相关内容,虽未给出具体内容,但可知围绕数据库操作,在信息技术领域,MySQL查询表列信息是数据库管理与开发的常见需求。
select COLUMN_NAME,column_comment from information_schema.COLUMNS where table_name = 'db_car_apply'
-- 查询表字段
select COLUMN_NAME from information_schema.COLUMNS where table_name = '表名' and table_schema = '数据库名';
2282
471
1032
1602
1万+

被折叠的 条评论
为什么被折叠?