update tb set new_col=case when len(col3)>0 then col3 when LEN(col2)>0 then col2 else '' end
select case when len(col3)>0 then col3 when LEN(col2)>0 then col2 else '' end new_col from tb update tb set new_col=case when len(col3)>0 then col3 when LEN(col2)>0 then col2 else '' end
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货