update /*+ bypass_ujvc */
(
select h.ng_qty hng, n.ng_qty nng
from T04_RECV_INSP_HIST h
, t04_recv_ng_list n
where h.origin_no = n.origin_no
and h.plant_code = n.plant_code
) set nng = hng;