If I want to copy a column in a mysql database to another column in mysql database, how is this done?
A column in the same table or in another table ?
same table.
Hi,
this should work:
if you have a table with id,field1 and field2 then try:
UPDATE thetable SET field1=field2 WHERE id=theid;
without ' around field2. I can't test it now but it should work.
Thanks.