dreamhappy2012

2019-07-19   阅读量: 803

Mysql

MySQL怎么删除字段?

扫码加入数据分析学习群

问、MySQL怎么删除字段

答:

将数据表中的某个字段从表中移除

语法:alter table+表名+drop+要删的字段名

–例:删除数据表 tb_department 中的 column2 字段

alter table tb_deptment drop column2;

85.7824 2 4 关注作者 收藏

评论(0)


暂无数据

推荐课程