示例
SELECT
COLUMN_NAME 名称,
COLUMN_TYPE 数据类型,
COLUMN_COMMENT 注释
FROM
INFORMATION_SCHEMA.COLUMNS
where
table_schema ='redwood_oa'
AND
table_name = 'staff';
示例
SELECT
COLUMN_NAME 名称,
COLUMN_TYPE 数据类型,
COLUMN_COMMENT 注释
FROM
INFORMATION_SCHEMA.COLUMNS
where
table_schema ='redwood_oa'
AND
table_name = 'staff';