修改表名:
alter table 表名 rename to 新名
添加字段:
alter table 表名 add 字段名 字段类型
删除字段:
alter table 表名 drop column 字段名
修改字段:
alter table 表名 rename column 原字段名 to 新名;
修改字段类型(前提:表中无数据)
alter table 表名 modify 字段名 新类型; 例如:String deleteColumn="alter table t_user drop column sname";