美文网首页
2019-02-14

2019-02-14

作者: 啦啦啦啦啦哈1 | 来源:发表于2019-02-14 15:56 被阅读0次

select 1和select 2的结果加起来,并且不处理重复项。

比如:select 1返回的是为:1,2,3,select 2返回的值为2,4,5,

使用union all ,那么整个这句话返回的值为:1,2,3,2,4,5

使用union  那么整个这句话返回的值为:1,2,3,4,5 除去相同部分

相关文章

网友评论

      本文标题:2019-02-14

      本文链接:https://www.haomeiwen.com/subject/pyieeqtx.html