集合操作union、except、intersect
集合并运算——UNION :使用UNION运算符可以将两个或更多查询的结果合并为单个结果集。有union、union all两个运算符,之间的区别见引用文章: 在数据库中,union和union all关键字都是将两个结果集合并为一...
连接运算:inner join、right join、left join、 outer join 详细
join 连接运算详细:连接运算包括外连接、内连接、交叉连接。其中1.外连接包括左向-外联接(left outer join或 left join)、右向-外联接(right outer join或right join)、完整-外联接 (full outer join或 full...