The WHERE clause first filters the rows returned,
then the remaining rows are grouped into blocks by the GROUP BY clause.
The WHERE clause first filters the rows returned,
then the remaining rows are grouped into blocks by the GROUP BY clause.