sql语言对字段进行增加,用到alter语句
语法是
alter table 表名 add column 新字段名 类型
alter table table_tom add column "color" int删除字段
语法是
alter table 表名 drop column 要删除的字段
alter table table_tom drop column "color"重命名字段
语法
alter table 表名 rename 旧的字段名 to 新的字段名
alter table table_tom rename "content" to "name"