the bubble manual is pretty good at explaining how to use the group by operator…you can set multiple aggregations and groupings to suit your needs