Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

copy one column data to another in sql

#copy one column data to another in sql

Syntax 
UPDATE `table` SET new_column_name = old_column_name;

Example
UPDATE `toppers` SET tpicx = tpic;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #copy #column #data #sql
ADD COMMENT
Topic
Name
2+7 =