Obtenha dados de relação no MySQL usando a consulta para se destacar

UPDATE User,temp_table,Country SET ID_country = Countries.ID WHERE User.ID = temp_table.ID AND temp_table.Country = Countries.Country
Spotless Stork