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

Commit9ac7fa2

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 parentdb7394d commit9ac7fa2

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
@@ -129,6 +129,9 @@ TABLE [ ONLY ] <replaceable class="parameter">table_name</replaceable> [ * ]
129129
eliminates groups that do not satisfy the given condition. (See
130130
<xref linkend="sql-groupby"/> and
131131
<xref linkend="sql-having"/> below.)
132+
Although query output columns are nominally computed in the next
133+
step, they can also be referenced (by name or ordinal number)
134+
in the <literal>GROUP BY</literal> clause.
132135
</para>
133136
</listitem>
134137

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp