增加字段

语法:

  1. alter table + 表名 + add + 要添加的字段 字段类型 + after + 要跟随的字段名

示例:

alter table t_adviser_info add hold int COMMENT '0持有,1未持有' after stockname
alter table t_adviser_info add profit int comment "0盈利,1亏损" after hold
alter table t_adviser_info add weight int comment "0轻仓,1重仓" after profit