Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit17cd48d

Browse files
committed
doc: mention GROUP BY columns can reference target col numbers
Reported-by: hape <postgres-hape@gmx.de>Discussion:https://postgr.es/m/168871536004.379168.9352636188330923805@wrigleys.postgresql.orgBackpatch-through: 11
1 parente391939 commit17cd48d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎doc/src/sgml/ref/select.sgml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ TABLE [ ONLY ] <replaceable class="parameter">table_name</replaceable> [ * ]
131131
eliminates groups that do not satisfy the given condition. (See
132132
<xref linkend="sql-groupby"/> and
133133
<xref linkend="sql-having"/> below.)
134+
Although query output columns are nominally computed in the next
135+
step, they can also be referenced (by name or ordinal number)
136+
in the <literal>GROUP BY</literal> clause.
134137
</para>
135138
</listitem>
136139

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp