Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
集合函数对数据库中一组行的数据进行汇总。这些组是使用 SELECT 语句的 GROUP BY 子句构成的。只允许在选择列表和 SELECT 语句的 HAVING 和 ORDER BY 子句中使用集合函数。
以下是可用的集合函数: