informix 数据库查询,哪位大神帮小弟我看看有关问题在哪?这样写不对吗
select '全资控股100万以上', zmq_zone , count(*) , sum( cptl_total ) , sum( extramual_fund )
from tmp_extramual_fund
where extra_mode = '1' and cptl_mode = '1' ;
group by zmq_zone
执行之后会提示语法错误,正确的写法是什么?哪位大神能说一下!感谢
>[Error] Script lines: 77-81 ------------------------
A syntax error has occurred.
------解决思路----------------------
把 这个条件“cptl_mode = '1' ;” 后面的分号去掉。