Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.0 (中文) » SQL Anywhere 服务器 - SQL 的用法 » 查询和修改数据 » 查询数据 » 集合函数

 

将集合函数应用于分组数据

除了提供有关整个表的信息之外,集合函数还可应用于行组。GROUP BY 子句将行分组,而集合函数将为每一行组返回一个值。

 示例
 对于空集的语义差别
 GROUP BY 常见错误