I have this query thats return a list of averages
@Query("SELECT AVG(p.quantity) FROM Position p GROUP BY p.client.id")