添加字段
alter table t_student add contact_tel varchar(40);
修改字段
alter table t_student modify student_name varchar(100) ;
删除字段
alter table t_student drop contact_tel;
alter table t_student add contact_tel varchar(40);
alter table t_student modify student_name varchar(100) ;
alter table t_student drop contact_tel;
本文标题:增加/删除/修改表结构
本文链接:https://www.haomeiwen.com/subject/yibyxftx.html
网友评论