1.查询 SELECT COLUMN_NAME 字段名, COLUMN_COMMENT 字段描述, COLUMN_TYPE 字段类型, 'false' as 是否为主键 FROM INFORMATION_SCHEMA.COLUMNS where table_NAME ='region' -- 表名 2.查询结果 3.导出为excel