Skip to Main Content

Feature Details

Buttons

Feature Details Container

GROUP BY ALL

Application Development → SQL

In SQL queries with complex SELECT lists that contain aggregation functions, the new GROUP BY ALL clause eliminates the need to put all non-aggregated columns into the GROUP BY clause. Instead, the new ALL keyword indicates that the results should be automatically grouped by all non-aggregated columns.

Business Benefit: Not having to repeat the non-aggregated columns in the GROUP BY clause, makes writing SQL queries quicker and less error prone. Users can use the GROUP BY ALL functionality to either quickly prototype their SQL query or for quick ad-hoc queries.

Release Availability
11.2
12.1
12.2
18c
19c
21c
23.9
Available On
All Offerings
Initial Release
23.9