youse
mysql添加一个字段(在指定的一个字段后面)
举个栗子:alter table inquiry add error_code varchar(3) after add_time;
说明: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

分类:

技术点:

相关文章:

  • 2021-11-28
  • 2021-11-28
  • 2021-11-28
  • 2021-11-18
  • 2021-11-18
  • 2021-05-01
猜你喜欢
  • 2021-11-11
  • 2021-09-17
  • 2021-11-18
  • 2021-11-28
  • 2022-01-21
  • 2021-11-21
  • 2021-11-30
相关资源
相似解决方案