Mysql 语句
时间:2018-06-08 13:56:14
收藏:0
阅读:201
添加一列
alter table 表名 add column 列名 varchar(20) not null;
添加一列在某列的后面
alter table 表名 add column 列名 varchar(20) not null after user1;
添加一列在最前面
alter table 表名 add column 列名 varchar(20) not null first;
删除一列
alter table yusheng drop column def ;
原文:https://www.cnblogs.com/Eeexiang/p/9154829.html
评论(0)