集合运算集合运算就是将两个或者多个结果集组合成为一个结果集。集合运算包括: INTERSECT(交集),返回两个查询共有的记录。 UNION ALL(并集),返回各个查询的所有记录,包括重复记录。 UNION(并集),返回各个查询的所有记录,不包括重复记录。 MINUS(补集),返回第一个查询检索出的记录减去第二个查询检索出的记录之后剩余的记录。当使用集合操作的时候,要注意:查询所返回的列数以及列的类型必须匹配,列名可以不同