sqlserver 联查更新
update [CutterStates] set DeviceGroupId = ( select mdg.DeviceGroupId from Machines m join MachineDeviceGroups mdg on m.id = mdg.MachineId where m.id = MachineId ) where CutterUsedStatus = 3
Newd
版权声明
作者:も不秃不秃
地址:https://www.cnblogs.com/Newd/p/13048606.html
© Newd 尊重知识产权,引用请注出处
广告位
(虚位以待,如有需要请私信)