中国开发网: 论坛: 程序员情感CBD: 贴子 304859
haitao
很简单
select sum(f4) as fa
from (
select f4
from (
select cast(left(f4,len(f4)-2) as int)
from tabcc
) tt
where f3 in ('aaaa','bbbb')
) ttt

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录