------解决方案--------------------
--查询 select ID,FILE_PATH,FILE_VERSION_ID from A where exists(select id from b where b.file_paht=A.FILE_PATH); --更新 update A set a.FILE_VERSION_ID=(select id from b where b.file_paht=A.FILE_PATH where rownum=1)
------解决方案--------------------