标签: sql jpa subquery clause
我想将以下查询翻译成JPA,我试图google好几天但还没找到答案。
Select count(*) from (Select a, b from t1 group by a, b)