I have a table Table1
as follows
col1 col2
---- ----
A 1
B 1
C 1
D 0
E 0
F 0
I want the result table should be as follows (by using Update
statement)
col1 col2
---- ----
A 0
B 0
C 0
D 1
E 1
F 1