update one column from another column in same table

Solutions on MaxInterview for update one column from another column in same table by the best coders in the world

showing results for - "update one column from another column in same table"
Clara
26 Nov 2017
1select * from stuff
2
3update stuff
4set TYPE1 = TYPE2
5where TYPE1 is null;
6
7update stuff
8set TYPE1 = TYPE2
9where TYPE1 ='Blank';
10
11select * from stuff
12