Available in versions: Dev (3.20) | Latest (3.19) | 3.18 | 3.17 | 3.16 | 3.15 | 3.14 | 3.13 | 3.12 | 3.11 | 3.10

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

3.7.15.1.
Grouping
3.7.15.2.
Distinctness
3.7.15.3.
Filtering
3.7.15.4.
Ordering
3.7.15.5.
Ordering WITHIN GROUP
3.7.15.6.
Keeping
3.7.15.7.
ARRAY_AGG
3.7.15.8.
AVG
3.7.15.9.
BOOL_AND
3.7.15.10.
BOOL_OR
3.7.15.11.
COLLECT
3.7.15.12.
COUNT
3.7.15.13.
CUME_DIST
3.7.15.14.
DENSE_RANK
3.7.15.15.
EVERY
3.7.15.16.
GROUP_CONCAT
3.7.15.17.
LISTAGG
3.7.15.18.
MAX
3.7.15.19.
MEDIAN
3.7.15.20.
MIN
3.7.15.21.
MODE
3.7.15.22.
PERCENT_RANK
3.7.15.23.
PERCENTILE_CONT
3.7.15.24.
PERCENTILE_DISC
3.7.15.25.
PRODUCT
3.7.15.26.
RANK
3.7.15.27.
SUM

previous : next

Feedback

Do you have any feedback about this page? We'd love to hear it!

The jOOQ Logo