- Notifications
You must be signed in to change notification settings - Fork28
Commit82eafab
committed
Improve docs about using ORDER BY to control aggregate input order.
David Johnston pointed out that the original text here had been obsoletedby SQL:2008, which allowed ORDER BY in subqueries. We could weaken thetext to describe ORDER-BY-in-subqueries as an optional SQL feature that'spossibly unportable; but then the exact same statements would apply tothe alternative it's being compared to (ORDER-BY-in-aggregate-calls).So really that would be pretty useless; let's just take out the sentenceentirely. Instead, point out the hazard that any extra processing in theupper query might cause the subquery output order to be destroyed.Discussion: <CAKFQuwbAX=iO9QbpN7_jr+BnUWm9FYX8WbEPUvG0p+nZhp6TZg@mail.gmail.com>1 parent50e5315 commit82eafab
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13102 | 13102 | | |
13103 | 13103 | | |
13104 | 13104 | | |
13105 | | - | |
13106 | | - | |
| 13105 | + | |
| 13106 | + | |
| 13107 | + | |
13107 | 13108 | | |
13108 | 13109 | | |
13109 | 13110 | | |
| |||
0 commit comments
Comments
(0)