按栏目快速找到需要的在线工具。
JSON 解析、格式化、压缩、对比与实体生成。
Base64、URL、进制、哈希与 AES 加密工具。
DNS、SEO、HTTP、robots 与站点检查。
日期、计算器、健康与便民工具。
前端、编程、数据库与服务器教程。
11 个工具栏目,按使用场景分类。
日期:2014-05-17 浏览次数:21229 次
select stu.stuid,stu.stuname,round(avg(sco.score),2) avgscore,sum(sco.score) sumscore from scores sco inner join students stu on stu.stuid=sco.stuid group by stu.stuid,stu.stuname order by sumscore desc
引用:引用:引用:你的hibernate的查询方法肯定是用的HQL查询方式,是不是? 因为你写的是sql语句,所以会报错,hibernate的HQL查询的结果是以对象方式来存在的,不能查属性,你写的 select stu.stuid,stu.stuname,roun……