select a,b,sum(c) from table group by a,b;
我想知道上面的查询语句查询出来的条数,这样的HQL语句怎么写?
我这样写不对:select count(*) from (select a,b from table group by a,b) x;
我想知道上面的查询语句查询出来的条数,这样的HQL语句怎么写?
我这样写不对:select count(*) from (select a,b from table group by a,b) x;
调试欢乐多
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货