Mysql - Take data from row and copy it to another row -
i have table 2 rows like:
row1 row2 ======= ======= 7,3 text 1 1,3 text 2 1,2,3 blabla
what need add/copy text row1, @ beginning of row2, plus adding custom text (crlf). like:
row1 row2 ======= ======= 7,3 7,3<br />text 1 1,3 1,3<br />text 2 1,2,3 1,2,3<br />blabla
so, there way using mysql commands?
thanks lucas
if row1 , row2 2 separate columns can this:
update mytable set row2=concat(row1,' text ',row2);
Comments
Post a Comment