07 2017 档案
摘要:having 后面只能用 COUNT(*),不能用 cnt
阅读全文
摘要:select top 100 * from ClientSecurityReturnIndex where EffectiveDate=(select MAX(EffectiveDate) from ClientSecurityReturnIndex as tb where ClientSecurityId=ClientSecurityReturnIndex.ClientSecurityId) ...
阅读全文
摘要:select AccountId,COUNT(*) as cnt from AccountReturnIndex group by AccountId having COUNT(*)<20
阅读全文
摘要:create table #Account(AccountId int) insert into #Account select 1500722090 union select 1500722091 union select 1500722092 union select 1500722316 union select 1500722317--'union' is auto filter du...
阅读全文

浙公网安备 33010602011771号