SELECT @leftPV=SUM(TotalPv) FROM Com_Order WHERE OrderPeriod =@Duration AND MemNumber IN (SELECT MemNumber FROM dbo.Com_Member WHERE MemBinaryList LIKE '%,'+CAST(@leftLeg AS NVARCHAR(256)) + ',%')
本文共 247 字,大约阅读时间需要 1 分钟。
SELECT @leftPV=SUM(TotalPv) FROM Com_Order WHERE OrderPeriod =@Duration AND MemNumber IN (SELECT MemNumber FROM dbo.Com_Member WHERE MemBinaryList LIKE '%,'+CAST(@leftLeg AS NVARCHAR(256)) + ',%')
转载于:https://www.cnblogs.com/armanda/p/4839525.html