My Oracle Support Banner

23c New Feature - GROUP BY Column Alias or Position (Doc ID 3002692.1)

Last updated on FEBRUARY 06, 2024

Applies to:

Oracle Database - Standard Edition - Version Beta 23c and later
Oracle Database - Enterprise Edition - Version Beta 23c and later
Information in this document applies to any platform.


Starting with Oracle DB 23c, it is now possible to perform group aggregation in the GROUP BY clause by specifying column aliases or positions.
This enhancement addresses the previous necessity of writing precise column names in the GROUP BY clause, which often led to lengthy and complex SQL statements,
allowing for more concise and streamlined queries.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.