常用SQL语句整理,示例如下:
给表增加字段
alter table xx_template_field add `relative_field_key` varchar(255) NULL DEFAULT NULL COMMENT '关联字段的key',add `relative_field_val` varchar(255) NULL DEFAULT NULL COMMENT '关联字段的值';
更新字段数据
update xx_template set create_time = "2099-01-01 00:00:00" where busi_class="default";
标签:语句,常用,DEFAULT,00,field,SQL,NULL From: https://www.cnblogs.com/luoyihao/p/16903590.html