bzrx流动性挖矿
① http://v.ku6.com/show/8X-855sMdTBzRXjZdTLv0g...html 求此视频背景音乐
七剑战歌 - 川井宪次《七剑》原声碟
② 不是Group by 的表达式
这个XN 或者要在GROUP BY 后面的分组列表中,
或者在要加上聚合函数,如MAX(XN),MIN(SN)等
即,
这样:
insert into bzrpcxt_pm select bzrxm as xingming ,count(bzrxm) as xiangshu,sum(fs) as zongfen,sum(fs)/count(bzrxm),xn=MAX(XN) from bzrpcxt_cc group by bzrxm order by 1,2
或者:
insert into bzrpcxt_pm select bzrxm as xingming ,count(bzrxm) as xiangshu,sum(fs) as zongfen,sum(fs)/count(bzrxm),xn=MAX(XN) from bzrpcxt_cc group by bzrxm,XN order by 1,2
③ 关于Criteria查询
a.add(Example.create(user));
List result=criteria.list();
System.out.println("result.size()="+result.size());
return criteria.list();
}
④ 访问ORCLE数据库的时候出现ORA-00923未找到要求的 FROM 关键字
select BZRXM avg(PF) from BZRPCXT_CC group by BZRXM
就算是ORCLE
也应该是
select BZRXM ,avg(PF) from BZRPCXT_CC group by BZRXM
这样写法吧.你少了个,号