The Query Management Panel contains an
option for grouping the selected column. Sometimes you may not want just
raw data, but rather some specific information from the table. The Grouping drop-down menu lets you get sums, minimum
and maximum values, averages, and row counts (ex: how many departments
in the company). The following image shows how the options are displayed:

Here you can see the query results when a sum grouping is applied to
the department budget column:

The grouping functions (also known as aggregate functions) are used
for retrieving information about a group of records from the database.
Examples include the sum of all salaries of the employees in a department,
the average price of TV sets in a country or the number of clients that
have bought a certain product. The next
topic goes a step further by describing how to create conditions in
your query.