add batch remove batch split batch comment selection show hidden batches hide batch highlight batch
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
create table mytable(idx int, A int);
insert into mytable values(0, 1), (1, 1), (2, 3);

alter table mytable add column B varchar(10);
update mytable set B = A;
Records: 3  Duplicates: 0  Warnings: 0
Records: 0  Duplicates: 0  Warnings: 0
Rows matched: 3  Changed: 3  Warnings: 0
select * from mytable;
idx A B
0 1 1
1 1 1
2 3 3