update CAMPAGNA c
set campo_team1 = (select ag.campo_team
from ag AGENTI, ca CAMPAGNA
where ca.campo_agente1 = ag.campo_agente
and ca.campo_agente1 = c.campo_agente1)
where campo_team1 is null
se ho capito bene questo dovrebbe funzionare
:gren: :gren: :gren: :gren: