update tabella multiplo....

codice:
update tabella1, tabella2
set tabella2.id = tabella1.id
where tabella2.nome = tabella1.nome