Skip to content

Commit fc0566b

Browse files
authored
Merge pull request #109 from w3c/Issue94
errata-query-11
2 parents 11b909d + d1efdf6 commit fc0566b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

spec/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8759,9 +8759,9 @@ <h5>Grouping and Aggregation</h5>
87598759
Let E := [], a list of pairs of the form (variable, expression)
87608760

87618761
If Q contains GROUP BY exprlist
8762-
Let G := Group(exprlist, ToList(P))
8762+
Let Grp := Group(exprlist, ToList(P))
87638763
Else If Q contains an aggregate in SELECT, HAVING, ORDER BY
8764-
Let G := Group((1), ToList(P))
8764+
Let Grp := Group((1), ToList(P))
87658765
Else
87668766
skip the rest of the aggregate step
87678767
End
@@ -8774,14 +8774,14 @@ <h5>Grouping and Aggregation</h5>
87748774
End
87758775
For each aggregate R(args ; scalarvals) now in X
87768776
# note scalarvals may be omitted, then it's equivalent to the empty set
8777-
A<span><sub>i</sub></span> := Aggregation(args, R, scalarvals, G)
8777+
A<span><sub>i</sub></span> := Aggregation(args, R, scalarvals, Grp)
87788778
Replace R(...) with agg<span><sub>i</sub></span> in Q
87798779
i := i + 1
87808780
End
87818781
End
87828782

87838783
For each variable V appearing outside of an aggregate
8784-
A<span><sub>i</sub></span> := Aggregation(V, Sample, {}, G)
8784+
A<span><sub>i</sub></span> := Aggregation(V, Sample, {}, Grp)
87858785
E := E append (V, agg<span><sub>i</sub></span>)
87868786
i := i + 1
87878787
End
@@ -9753,8 +9753,8 @@ <h3>Evaluation Semantics</h3>
97539753
<div id="defn_evalAggregation">
97549754
<b>Definition: Evaluation of Aggregation</b>
97559755
</div>
9756-
<p>eval(D(G), Aggregation(exprlist, func, scalarvals, P)) = Aggregation(exprlist, func,
9757-
scalarvals, eval(D(G), P))</p>
9756+
<p>eval(D(G), Aggregation(exprlist, func, scalarvals, Grp)) = Aggregation(exprlist, func,
9757+
scalarvals, eval(D(G), Grp))</p>
97589758
</div>
97599759
<div class="defn">
97609760
<div id="defn_evalAggregateJoin">

0 commit comments

Comments
 (0)