You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# G-3183: Always specify column aliases instead of expressions in GROUP BY clauses.
2
+
3
+
!!! tip "Minor"
4
+
Readability, Maintainability
5
+
6
+
## Restriction
7
+
8
+
Oracle Database 23c
9
+
10
+
## Reason
11
+
12
+
Starting with Oracle Database 23c, it is possible to use a column alias in the `group by` clause instead of repeating the expression used in the `select` list.
13
+
14
+
Unless you use `rollup`, `cube` or `grouping sets`, it is not necessary to use expressions in the `group by` clause.
0 commit comments