【问题标题】:What is the difference between union and union all in mysql? [duplicate]mysql中的union和union all有什么区别? [复制]
【发布时间】:2013-09-12 01:05:37
【问题描述】:

谁能告诉我mysql在哪里使用union和在哪里使用uinon all的区别

【问题讨论】:

标签: mysql union union-all


【解决方案1】:

UNION 获取 distinct 值,UNION ALL 没有。

【讨论】:

    猜你喜欢
    • 2010-10-28
    • 2016-09-05
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多