1.添加字段:alter table tablename add columns(column1 type,column2 type...)
alter table userinfo add columns (name string);
alter table userinfo add columns (name string comment '姓名');
2.更新字段类型
3.删除字段
1.添加字段:alter table tablename add columns(column1 type,column2 type...)
alter table userinfo add columns (name string);
alter table userinfo add columns (name string comment '姓名');
2.更新字段类型
3.删除字段