copy data from one field to another mysql mulitple rows -
i want copy data 1 field mysql mulitple rows.
i've tried following not working , mysql says "returns more 1 row"
update agreement set _date2 = (select concat(substring(_date, 7), '-', substring(_date, 4, 2), '-', substring(_date, 1, 2)) newdd agreementtemp);
try
update `table_name` set destination_field=source_field
Comments
Post a Comment