1、添加

格式:
alter table 表名 add column 列名 列的数据类型;
示例
alter table test4 add column addr text;

2、删除

格式:
alter table 表名 drop column 列名;
示例:
alter table test4 drop column addr;

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
  • 2021-04-20
  • 2021-11-18
猜你喜欢
  • 2021-08-25
  • 2022-12-23
  • 2022-02-11
  • 2021-12-18
相关资源
相似解决方案