将File2.StockT更新为与File1.StockT相同

时间:2019-03-27 03:18:28

标签: mysql-workbench

UPDATE CRPDTA.F4102                    
SET IBSTKT = IMSTKT FROM CRPDTA.F4102 INNER JOIN CRPDTA.F4101 ON F4102.IBITM = F4101.IMITM         
WHERE ((F4102.IBMCU IN ('      259100')) AND F4102.IBSTKT = 'O' AND F4101.IMSTKT = 'P')     

0 个答案:

没有答案