Havingdoes not implygroup by ()(ISO/IEC 9075-2:2023 §7.14 SR 1)
Related
- Standard Features
- Extensions
group by <expression>group by <select item name>group by <unsigned integer>
E051-04, “GROUP BY can contain columns not in <select list>”
The
ANY_VALUE(…)Aggregate Function: New in SQL:2023 — and a better feature from 1999
- Non-standard Features
Normative References
E051-06, “HAVING clause” is a mandatory feature in ISO/IEC 9075-2:2023. It was required in ANSI X3.135-1989 already. Even the requirement that having effectively implies group by () was in the 1989 standard (ANSI X3.135-1989 §5.23 GR 1).

