Sum a List of averages in spring boot jpa query

前端 未结 0 385
梦毁少年i
梦毁少年i 2021-01-08 01:10

I have this query thats return a list of averages

@Query("SELECT AVG(p.quantity) FROM Position p GROUP BY p.client.id")

相关标签:
回答
  • 消灭零回复
提交回复
热议问题