mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-01 11:01:21 +02:00
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.org Backpatch-through: 11
This commit is contained in:
parent
6181eca090
commit
e1ae79b99a
@ -129,6 +129,9 @@ TABLE [ ONLY ] <replaceable class="parameter">table_name</replaceable> [ * ]
|
||||
eliminates groups that do not satisfy the given condition. (See
|
||||
<xref linkend="sql-groupby" endterm="sql-groupby-title"/> and
|
||||
<xref linkend="sql-having" endterm="sql-having-title"/> below.)
|
||||
Although query output columns are nominally computed in the next
|
||||
step, they can also be referenced (by name or ordinal number)
|
||||
in the <literal>GROUP BY</literal> clause.
|
||||
</para>
|
||||
</listitem>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user