Hi
I have 2 tables and want to update my second table with one column of the first one :
Table A : name
Table B : name_f
i tried this unsuccessfully :
update B set name_f = p1.name
from
A p1, (select * from B ) p2
where
p1.id = p2.id
what's wrong ? i use mysql Thanks Jonathan