What's wrong with this query?
It uses
WHERE
instead of
HAVING
to filter groups
It doesn't have a select statement
It doesn't have a condition for filtering
It uses
WHERE
instead of
HAVING
to filter groups.