SQL-union和union all

union和union all 都是对两个表的查询结果取并集。

但是union会去掉重复元素,并且排序。

posted @ 2022-05-15 16:51  `安安安安安  阅读(21)  评论(0)    收藏  举报