我在JSP中写一句查询语句:
String sql="select city_id,vote_count,"+
"case when a.kind=0 then TRUNC(to_number((vote_count/b.totle*100)),0) else TRUNC(to_number((vote_count/c.totle2*100)),0) end as per"+
"from tab_jingli a ,(select sum(vote_count) as totle from tab_jingli i where i.kind=0) b ,(select sum(vote_count) as totle2 from"+
"tab_jingli i2 where i2.kind=3) c where city_id <>32 order by city_id";结果页面报错,Error occur in java.sql.SQLException: ORA-00923: ????? FROM ???
大家帮我想想是什么原因555