SQL_集合逻辑运算

 

 

intersect
交集

union 不重复
union all  全部
order by 跟第一个表列名字, 要特意定义不同列名
并集
except mysql
minus  oracle 

 

posted @ 2018-01-09 20:32  木石1987  阅读(134)  评论(0编辑  收藏  举报