#copy one column data to another in sql
Syntax
UPDATE `table` SET new_column_name = old_column_name;
Example
UPDATE `toppers` SET tpicx = tpic;
#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