W
wlyft
Unregistered / Unconfirmed
GUEST, unregistred user!
select sum(FB) as DB_FB,sum(CB) as DB_CB,sum(YB) as DB_YB,'<br> +'sum(Y95) as DB_95,sum(Y90) as DB_90,sum(Y85) as DB_85,'<br> +'sum(CHD) as DB_CHD,sum(INF) as DB_INF,sum(Wopen) as DB_OPEN' <br> +' from '+wtablename+' where <br><br>如果有个字段是字符型的字段wspecial 想在这条语字实现字符去前后空格并加在一起(就是把所有字符联在一起)的功能,SQL怎么写