Skip to content

Commit c503899

Browse files
authored
Create alias-in-group.sql
1 parent dcbc507 commit c503899

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
REM Script in 23c: alias-in-group.sql
2+
3+
-- GROUP BY with alias
4+
5+
SELECT to_char(hiredate,'YYYY') "Year", count(*)
6+
FROM emp
7+
GROUP BY "Year";

0 commit comments

Comments
 (0)