学习笔记(08):Mysql数据库基础入门视频教程-SQL添加删除字段

立即学习:https://edu.csdn.net/course/play/9885/210073?utm_source=blogtoedu

int(11)共11位,不够的0补齐;

char(25):只能最多25个字符;

添加列的语法格式;

修改数据类型:alter table students modify id bigint;

删除一列: ALTER TABLE 表名 DROP 字段名;

发布了26 篇原创文章 · 获赞 1 · 访问量 187

猜你喜欢

转载自blog.csdn.net/weixin_44909180/article/details/105043179