x + y = z x+y=z x+y=z 2021-01-15 union 和 union all 的区别: union在使用时会删掉重复的数据,最后现实的结果大致所有列会相同,但是使用union而不使用union all 会使数据的性能有所影响。 union all 在使用时不会删除重复行,在性能上会比union快一些