UPDATE oo
SET
	C_ORARENDIORAGROUPID =  ID
FROM T_ORARENDIORA_OSSZES oo
WHERE
	oo.C_ORARENDIORAGROUPID IS NULL