摘要:
-- -- 删除base里冗余的数据 --UPDATE dbo.N_Order_ServiceLog SET IsDel = 1 WHERE OrderId IN ( SELECT OrderId FROM( SELECT ROW_NUMBER() OVER(PARTITION BY bs.Phon 阅读全文
摘要:
with temptb AS(SELECT sl.CompanyID,info.BID FROM dbo.TableXXXXX slLEFT JOIN dbo.Tableinfo infoON info.ID = sl.CompanyID WHERE sl.ServiceId = 8 AND sl. 阅读全文