sql copy data from one column to another in different table code example Example: copy all values of a column to another column in sql in same table UPDATE table SET columnB = columnA;