在mysql中怎样使某个字段的数据默认为0

如题所述

第1个回答  2015-10-13
default 给字段默认值就可以了。
MySQL修改字段默认值
alter table 表名 alter column 字段名 set default '2';
相似回答