📌  相关文章
📜  从同一表中的另一列更新一列 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:10.801000             🧑  作者: Mango

代码示例1
select * from stuff

update stuff
set TYPE1 = TYPE2
where TYPE1 is null;

update stuff
set TYPE1 = TYPE2
where TYPE1 ='Blank';

select * from stuff