ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 12 Using the Set Operators

12 Using the Set Operators

原创 Linux操作系统 作者:piedra1130 时间:2013-06-17 10:31:41 0 删除 编辑
1. 4种操作符:union,union all,intersect,minus
2. SELECT...
UNION
(SELECT...
INTERSECT
SELECT...)
INTERSECT
SELECT...
Just be sure to use the parentheses so that:
n  The code enclosed is a standalone query and does not include an ORDER BY
clause.
n  The enclosed code is placed into the outer query as though it were a single,
standalone SELECT statement, without the ORDER BY clause.
n  If an ORDER BY is desired, it must be the final clause in the entire series of
statements.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/22327710/viewspace-764146/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 1212
请登录后发表评论 登录
全部评论

注册时间:2009-08-12

  • 博文量
    36
  • 访问量
    41610