Aggregate Functions
No. |
MySQL |
GaussDB |
Difference |
---|---|---|---|
1 |
AVG() |
Supported, with differences. |
|
2 |
BIT_AND() |
Supported. |
- |
3 |
BIT_OR() |
Supported. |
- |
4 |
BIT_XOR() |
Supported. |
- |
5 |
COUNT() |
Supported, with differences. |
In GaussDB, if DISTINCT is specified and the SQL statement contains a GROUP BY clause, the result sequence is not guaranteed. |
6 |
GROUP_CONCAT() |
Supported, with differences. |
|
7 |
MAX() |
Supported, with differences. |
In GaussDB, if DISTINCT is specified and the SQL statement contains a GROUP BY clause, the result sequence is not guaranteed. When the parameter is not a table field, the return value type of the MAX function is different from that of MySQL 5.7. |
8 |
MIN() |
Supported, with differences. |
In GaussDB, if DISTINCT is specified and the SQL statement contains a GROUP BY clause, the result sequence is not guaranteed. When the parameter is not a table field, the return value type of the MIN function is different from that of MySQL 5.7. |
9 |
SUM() |
Supported, with differences. |
|
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