select [city], bfb=cast(cast(count(*)*100./(select count(*) from [UserBasicInfo]) as decimal(10,0)) as varchar)+'%'from [UserBasicInfo] where [subscribe]=1 group by [city]