mysql设置某字段默认值的方法:1、加字段和设置默认值;2、通过sql语句的方式,代码为【alter table t_user add type int(11) DEFAULT '1' COMMENT“”】。
技术文章 / 下载软件趣味内容 / 专业带飞