To group rows
The Query Designer adds a GROUP BY clause to the statement in the SQL pane.
The Query Designer automatically assigns a column alias to the column you are summarizing to create a useful column heading in query output. For more details, see Creating Column Aliases.