返回顶部

mysql - 删除字段

ALTER TABLE <表名> DROP <字段名>;

mysql> ALTER TABLE tb_emp1
    -> DROP col2;
Query OK, 0 rows affected (0.53 sec)
Records: 0  Duplicates: 0  Warnings: 0

 

posted @ 2021-01-15 19:39  Be-myself  阅读(246)  评论(0编辑  收藏  举报
levels of contents 点击查看具体代码内容