union 与 union all

1,union 没有重复值,其效果如同 select distinct * from 

2,union all 可能会有重复值(但是不会打乱原有的排序)。

 

posted @ 2017-07-04 18:17  云~~~  阅读(101)  评论(0编辑  收藏  举报