Skopiuj wszystkie wartości kolumny do innej kolumny w SQL w tej samej tabeli
UPDATE table SET columnB = columnA;
Grotesque Gentoo
UPDATE table SET columnB = columnA;
#to copy or update a table column from another table column
UPDATE table_name1
SET column1 = (
SELECT column2
FROM table_name2
WHERE table_name1.id = table_name2.id
);
UPDATE table_name SET
destination_column_name=orig_column_name
WHERE condition_if_necessary