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.
| Signature | Purpose | Source definition |
|---|---|---|
mysql.avg(text) → numeric | Average numeric values read from text. | SQL |
mysql.bit_and(bit varying) → bigint | Combine inputs with bitwise AND. | SQL |
mysql.bit_or(bit varying) → bigint | Combine inputs with bitwise OR. | SQL |
mysql.bit_xor(bit varying) → bigint | Combine inputs with bitwise XOR. | SQL |
mysql.dummy_min_for_bytea(bytea) → bytea | Internal aggregate that retains the input passed to its transition function. | SQL |
mysql.sum(boolean) → bigint | Sum the converted inputs. | SQL |
mysql.sum(text) → numeric | Sum the converted inputs. | SQL |