The GROUP BY clause is used to group rows that share the same values in specified columns.
It is often used with aggregate functions like SUM, AVG, COUNT, etc., to perform calculations on grouped data.