立即学习:https://edu.csdn.net/course/play/9885/210073?utm_source=blogtoedu
查看表的字段(结构):desc 表名;
表添加新的字段示例:alter table student add score int;
修改字段类型示例:alter table student modify id bigint;
删除一列示例:alter table student drop id;
立即学习:https://edu.csdn.net/course/play/9885/210073?utm_source=blogtoedu
查看表的字段(结构):desc 表名;
表添加新的字段示例:alter table student add score int;
修改字段类型示例:alter table student modify id bigint;
删除一列示例:alter table student drop id;