0

I have table(mytable1) like-

Code     Nombre
14       [:de]David[:en]Michel[:es]John[:]
...       .......
...      ........

I have another table(mytable2) like-

Code    Post_title

I want to copy data of column Nombre of mytable1 to Post_title column of mytable2.

shashank
  • 566
  • 3
  • 10
  • 31
  • See [Is storing a delimited list in a database column really that bad?](http://stackoverflow.com/q/3653462) – eggyal Mar 04 '15 at 18:44

1 Answers1

1
UPDATE mytable2 
LEFT JOIN mytable1
ON mytable1.code=mytable2.code
SET mytable2.post_title = mytable1.nombre
Alex
  • 16,739
  • 1
  • 28
  • 51