Skip to content

Aggregates

SQL aggregates, their input types and the result produced for a group.

SQL aggregates, their input types and the result produced for a group.

SignaturePurposeSource definition
mysql.avg(text) → numericAverage numeric values read from text.SQL
mysql.bit_and(bit varying) → bigintCombine inputs with bitwise AND.SQL
mysql.bit_or(bit varying) → bigintCombine inputs with bitwise OR.SQL
mysql.bit_xor(bit varying) → bigintCombine inputs with bitwise XOR.SQL
mysql.dummy_min_for_bytea(bytea) → byteaInternal aggregate that retains the input passed to its transition function.SQL
mysql.sum(boolean) → bigintSum the converted inputs.SQL
mysql.sum(text) → numericSum the converted inputs.SQL