E121-02, “ORDER BY columns need not be in select list” is an mandatory feature in ISO/IEC 9075-2:2023. The feature ID first appeared in the 1999 edition but the functionality was already required in SQL-92 (Entry Level) and ANSI X3.135-1989.
You can’t catch up on 20 years of SQL evolution in one day. Subscribe the newsletter via E-Mail, Bluesky or RSS to gradually catch up and to keep modern-sql.com on your radar.
About the Author
Markus Winand provides insights into SQL and shows how different systems support it at modern-sql.com. Previously he made use-the-index-luke.com, which is still actively maintained. Markus can be hired as trainer, speaker and consultant via winand.at.