tencent cloud

All product documents
TDSQL-C for MySQL
Description of Supported Aggregation Functions
Last updated: 2025-01-09 14:24:58
Description of Supported Aggregation Functions
Last updated: 2025-01-09 14:24:58
Currently, the read-only analysis engine supports most of MySQL's aggregation functions, but there are still limitations and incompatibilities in certain scenarios. This document introduces the list of supported aggregation functions in the read-only analysis engine, and enumerates type restrictions on input parameters. Input parameters and functions not mentioned in the document are not supported.

Supported Aggregation Function Types

count Function

Syntax: count(val) Supported value types for val: int, bigint, double, decimal, varchar, and char.

sum Function

Syntax: sum(val) Supported value types for val: int, bigint, double, decimal, varchar, and char.

avg Function

Syntax: avg(val) Supported value types for val: int, bigint, double, decimal, varchar, and char.

max Function

Syntax: max(val) Supported value types for val: int, bigint, double, decimal, varchar, and char.

min Function

Syntax: min(val) Supported value types for val: int, bigint, double, decimal, varchar, and char.

group_concat Function

Syntax: group_concat(val) Supported value types for val: int, bigint, double, decimal, varchar, and char.

any_value(arg) Function

Syntax: any_value(val) Supported value types for val: int, bigint, double, decimal, varchar, and char.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon