mysql将表中某字段null转变为0
SQL:
update table tb set tb.column= '0' WHERE tb.column IS NULL
备注(remark):
table : 表名
column: 字段列
tb:表别名
喜欢请点赞:
SQL:
update table tb set tb.column= '0' WHERE tb.column IS NULL
备注(remark):
table : 表名
column: 字段列
tb:表别名