You can use functions such as SUM and COUNT to aggregate the results of GROUP BY queries at one or more levels.
GROUP BY