介绍 使用sql语句修改字段名。 命令 alter table 表名 change 旧字段名 新字段名 新数据类型; 例子 将a表id字段名改为id1 alter table a change id id1 int(12) NOT NULL;