CTE ist zwar nicht möglich, deine Aufgabenstellung sehr wohl:

update myfile a set f1= (select sum(c.f2) from myfile c where c.key=a.key)
where (select count(*) from myfile b
where a.key=b.key) = 1

Als Key-Felder gibst du halt alle Beziehungen an.