mysql 添加枚举字段

2024-11-16 06:42:14
推荐回答(1个)
回答1:

ALTER TABLE table_name ADD col_name ENUM("0","1","2","3") NOT NULL DEFAULT "0";