如题所述
为数据表添加字段
使用ALTER语句,执行操作为 alter table 表名 add 字段名称 字段类型;比如向用户user表中,增加一个姓名字段的sql: alter table user add name VARCHAR(50) NOT NULL DEFAULT '';