select * from INFORMATION_SCHEMA.columns where TABLE_SCHEMA='zhipumanage' and TABLE_NAME='goods'
3 修改字段的注释
alter table goods modify column name VARCHAR(20) comment '修改后的字段注释';
--注意:字段名和字段类型都要写
select column_name,COLUMN_COMMENT from INFORMATION_SCHEMA.columns where TABLE_SCHEMA='zhipumanage' and TABLE_NAME='goods'