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

Commitf72aad5

Browse files
committed
Update discussion of aggregate syntax to mention ALL.
1 parenta7f8578 commitf72aad5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎doc/src/sgml/syntax.sgml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,6 +711,7 @@ sqrt(emp.salary)
711711

712712
<simplelist>
713713
<member><replaceable>aggregate_name</replaceable> (<replaceable>expression</replaceable>)</member>
714+
<member><replaceable>aggregate_name</replaceable> (ALL <replaceable>expression</replaceable>)</member>
714715
<member><replaceable>aggregate_name</replaceable> (DISTINCT <replaceable>expression</replaceable>)</member>
715716
<member><replaceable>aggregate_name</replaceable> ( * )</member>
716717
</simplelist>
@@ -723,7 +724,8 @@ sqrt(emp.salary)
723724
<para>
724725
The first form of aggregate expression invokes the aggregate across all
725726
input rows for which the given expression yields a non-null value.
726-
The second form invokes the aggregate for all distinct non-null values
727+
The second form is the same as the first, since ALL is the default.
728+
The third form invokes the aggregate for all distinct non-null values
727729
of the expression found in the input rows. The last form invokes the
728730
aggregate once for each input row regardless of null or non-null values;
729731
since no particular input value is specified, it is generally only useful

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp