标签:HERE ror col ber rod pre count bsp product
DECLARE @productID INT SELECT @productID = ProductID FROM dbo.us_UserOrder WHERE ZJID = @ZJID SELECT COUNT( 0 ) FROM dbo.us_UserBindPhone a INNER JOIN dbo.us_UserOrder b ON a.ZJID = b.ZJID WHERE ProductID = @productID AND STATUS <> 3 AND a.PhoneNumber = @PhoneNumber AND a.ZJID <> @ZJID AND a.Dr = 0
标签:HERE ror col ber rod pre count bsp product
原文地址:https://www.cnblogs.com/liuqiyun/p/10979609.html