[MDEV-15414] Document MDEV-7773 Aggregate functions Created: 2018-02-24 Updated: 2018-02-25 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Documentation |
| Affects Version/s: | 10.3 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Ian Gilfillan | Assignee: | Ian Gilfillan |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Comments |
| Comment by Ian Gilfillan [ 2018-02-24 ] |
| Comment by Varun Gupta (Inactive) [ 2018-02-24 ] |
| Comment by Sergei Golubchik [ 2018-02-25 ] |
|
See also this presentation (starting from the slide 79). It explains the logic of the syntax by drawing parallels to 100% standard syntax of non-aggregate stored functions (that calculate an aggregate function of some column in a table). And contains a non-trivial example at the end, something you cannot rewrite in terms of SUM, AVG, COUNT, etc. |