私はproductinfoテーブルとproduct_tempテーブルを持っています。UpdateDateテーブルproductinfoのフィールドを更新したいproductinfo.ProductID = productinfo_temp.ProductID
しかし、以下のコードは機能していません。
UPDATE productinfo a
SET UpdateDate = productinfo_temp.UpdateDate
WHERE EXISTS(SELECT NULL FROM productinfo_temp b WHERE a.ProductID = b.ProductID)