How can I make a copy values from one column to another? I have:
Database name: list
number | test
123456 | somedata
123486 | somedata1
232344 | 34
>
Following worked for me..
for a table say, 'test_update_cmd', source value column col2, target value column col1 and condition column col3: -
UPDATE test_update_cmd SET col1=col2 WHERE col3='value';
Good Luck!