说明: #重命名表 rename table 表名 to animals; 或者 alter table 表名 rename 表的新名字 #删除一列 alter table 表名 drop column des; #增加一列 alter table 表名 add des char(100) null [after 列名]; #改变列属性 第一种:alter table 表名 modify 需修改的列名 修改后的属性; 第二种:alter table 表名 change 需要修改的列名 修改后的列信息;
<u012556739> 上传 | 大小:22kb