Answers for "copy data from one table column to another table column in sql"

SQL
2

copy all values of a column to another column in sql in same table

UPDATE table SET columnB = columnA;
Posted by: Guest on January-04-2021
0

sql query to copy data from one column to another

UPDATE table_name SET
    destination_column_name=orig_column_name
WHERE condition_if_necessary
Posted by: Guest on June-10-2021
0

copy data from one table column to another table column in sql

#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
    );
Posted by: Guest on October-23-2021

Code answers related to "copy data from one table column to another table column in sql"

Code answers related to "SQL"

Browse Popular Code Answers by Language