To filter records based on a specified condition
To combine rows from two or more tables
To sort the result set in ascending or descending order
To group rows with the same values into summary rows
The GROUP BY clause is used to group rows with the same values into summary rows in SQL.