Aggregate Functions
No. |
MySQL |
GaussDB |
Difference |
---|---|---|---|
1 |
GROUP_CONCAT() |
Supported. |
If the group_concat parameter contains both the DISTINCT and ORDER BY syntaxes, all expressions following ORDER BY must be in the DISTINCT expression. group_concat(... order by Number) does not indicate the sequence of the parameter. The number is only a constant expression, which is equivalent to no sorting. The data type of the return value of group_concat is always text regardless of the data type of the parameter. For MySQL, if group_concat contains binary parameters, the return value is binary. In other cases, the return value is a character string. If the return value length is greater than 512 bytes, the data type is a character large object or binary large object. The value of group_concat_max_len ranges from 0 to 1073741823. The maximum value is smaller than that of MySQL. |
2 |
DEFAULT() |
Supported. |
|
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot