热线电话:13121318867

登录
2020-03-03 阅读量: 781
MySQL做去重时是否有一个字段不一样都不会被去重?

是的

-- union去重

select * from t1

union

select * from t2;

-- union all不去重

select * from t1

union all

select * from t2;

5.2566
1
关注作者
收藏
评论(0)

发表评论

暂无数据
推荐帖子