What's wrong with this query?

It uses WHERE instead of HAVING to filter groupsIt doesn't have a select statementIt doesn't have a condition for filtering

It uses WHERE instead of HAVING to filter groups.