Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
f72aad56
Commit
f72aad56
authored
25 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Update discussion of aggregate syntax to mention ALL.
parent
a7f85783
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/src/sgml/syntax.sgml
+3
-1
3 additions, 1 deletion
doc/src/sgml/syntax.sgml
with
3 additions
and
1 deletion
doc/src/sgml/syntax.sgml
+
3
−
1
View file @
f72aad56
...
@@ -711,6 +711,7 @@ sqrt(emp.salary)
...
@@ -711,6 +711,7 @@ sqrt(emp.salary)
<simplelist>
<simplelist>
<member><replaceable>aggregate_name</replaceable> (<replaceable>expression</replaceable>)</member>
<member><replaceable>aggregate_name</replaceable> (<replaceable>expression</replaceable>)</member>
<member><replaceable>aggregate_name</replaceable> (ALL <replaceable>expression</replaceable>)</member>
<member><replaceable>aggregate_name</replaceable> (DISTINCT <replaceable>expression</replaceable>)</member>
<member><replaceable>aggregate_name</replaceable> (DISTINCT <replaceable>expression</replaceable>)</member>
<member><replaceable>aggregate_name</replaceable> ( * )</member>
<member><replaceable>aggregate_name</replaceable> ( * )</member>
</simplelist>
</simplelist>
...
@@ -723,7 +724,8 @@ sqrt(emp.salary)
...
@@ -723,7 +724,8 @@ sqrt(emp.salary)
<para>
<para>
The first form of aggregate expression invokes the aggregate across all
The first form of aggregate expression invokes the aggregate across all
input rows for which the given expression yields a non-null value.
input rows for which the given expression yields a non-null value.
The second form invokes the aggregate for all distinct non-null values
The second form is the same as the first, since ALL is the default.
The third form invokes the aggregate for all distinct non-null values
of the expression found in the input rows. The last form invokes the
of the expression found in the input rows. The last form invokes the
aggregate once for each input row regardless of null or non-null values;
aggregate once for each input row regardless of null or non-null values;
since no particular input value is specified, it is generally only useful
since no particular input value is specified, it is generally only useful
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment