Используйте выражение MERGE
:
MERGE INTO DATMCCN0 dst
USING DAT_CCNCONFIG0 src
ON (
src.IID = dst.IID
AND src.I_NOME = dst.CAPLIC
)
WHEN MATCHED THEN
UPDATE SET E_NOME = src.I_NOME;
или, в зависимости от вашей логики:
MERGE INTO DATMCCN0 dst
USING (
SELECT b.IID,
/* MAX(I_NOME) AS */ I_NOME
FROM DAT_CCNCONFIG0 a
INNER JOIN DATMCCN0 b
ON a.I_NOME = b.CAPLIC
-- GROUP BY b.IID
) src
ON ( src.IID = dst.IID)
WHEN MATCHED THEN
UPDATE SET E_NOME = src.I_NOME;