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

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

 

对查询结果进行汇总、分组和排序


使用集合函数汇总查询结果
GROUP BY 子句:将查询结果划分为组
HAVING 子句:选择数据组
ORDER BY 子句:查询结果排序
使用 UNION、INTERSECT 和 EXCEPT 对查询结果执行集合运算