第十一天

mysql高级查询 sql修改语句 1.修改表名: alter table 旧表名 rename 新表明 2.添加字段:alter table 表名 add 字段名 数据类型 属性 3.修改字段:alter table 表名 change 原字段名 新字段名 数据类型 属性 4.删除字段:alter table 表名 drop 字段名 5.添加主键:alter table 表名 add const
相关文章
相关标签/搜索