mysql在表中插入一个字段

alter table yjp_app_tokon add status int(2) comment '账号轮询,一天换一个账号' after mcht_id;

说明:alter table + 表名 + add + 要添加的字段 + 字段类型 + comment "0盈利,1亏损" + after  + 要跟随的字段名 ;    (在这个字段后面添加一个字段)

猜你喜欢

转载自www.cnblogs.com/qiaoer1993/p/11887818.html