GROUP BY groups the rows that have the same values in the given columns, then applies the aggregates to each group. Every column in the SELECT must be either in the GROUP BY or aggregated. It produces one row per group.
Example
SELECT pays, COUNT(*) AS nb FROM clients GROUP BY pays;