Using the ORDER BY Clause in Set Operations

来源:互联网 发布:淘宝卖家怎么弄花呗 编辑:程序博客网 时间:2024/06/06 09:41

- The ORDER BY clause can appear only once at the end of the compound query.

在混合查询中,order by语句只能在末尾出现一次。

- Component queries cannot have individual ORDER BY clauses.

混合查询中,每个单独的查询不能有order by语句。

- The ORDER BY clause recognizes only the columns of the first SELECT query.

order by语句只对第一条子查询语句起作用。

- By default, the first column of the first SELECT query is used to sort the output in an ascending order

默认情况下,第一条子查询语句将对输出结果进行升序排序。

0 0
原创粉丝点击