New versions: Dev (3.15) | Latest (3.14) | 3.13 | 3.12 | 3.11 | 3.10 | 3.9 | 3.8 | Old versions: 3.7 | 3.6 | 3.5 | 3.4 | 3.3 | 2.6
Aggregate functions
Applies to ✅ Open Source Edition ✅ Express Edition ✅ Professional Edition ✅ Enterprise Edition
Aggregate functions work like Java java.util.stream.Collector, as they aggregate data from a group of data into a new data structure.
This section will first explain concepts common to many aggregate functions, and then proceed to explaining individual aggregate functions supported by jOOQ.
Table of contents
- 4.7.14.1.
- Grouping
- 4.7.14.2.
- Distinctness
- 4.7.14.3.
- Filtering
- 4.7.14.4.
- Ordering
- 4.7.14.5.
- Ordering WITHIN GROUP
- 4.7.14.6.
- Keeping
- 4.7.14.7.
- ARRAY_AGG
- 4.7.14.8.
- AVG
- 4.7.14.9.
- BOOL_AND
- 4.7.14.10.
- BOOL_OR
- 4.7.14.11.
- COLLECT
- 4.7.14.12.
- COUNT
- 4.7.14.13.
- CUME_DIST
- 4.7.14.14.
- DENSE_RANK
- 4.7.14.15.
- EVERY
- 4.7.14.16.
- GROUP_CONCAT
- 4.7.14.17.
- LISTAGG
- 4.7.14.18.
- MAX
- 4.7.14.19.
- MEDIAN
- 4.7.14.20.
- MIN
- 4.7.14.21.
- MODE
- 4.7.14.22.
- PERCENT_RANK
- 4.7.14.23.
- PERCENTILE_CONT
- 4.7.14.24.
- PERCENTILE_DISC
- 4.7.14.25.
- PRODUCT
- 4.7.14.26.
- RANK
- 4.7.14.27.
- SUM
The jOOQ User Manual : SQL building : Column expressions : Aggregate functions | previous : next |
Feedback
Do you have any feedback about this page? We'd love to hear it!