摘要:
union和union all的区别Union:对两个结果集进行并集操作,不包括重复行,同时进行默认规则的排序;Union All:对两个结果集进行并集操作,包括重复行,不进行排序; union和union all的区别是,union会自动压缩多个结果集合中的重复结果,而union all则将所有的 阅读全文
posted @ 2020-08-14 18:10
马踏飞燕Beautiful
阅读(429)
评论(0)
推荐(0)
摘要:
select * from A where exists(select 1 from B where A.a = B.b) 阅读全文
posted @ 2020-08-14 18:00
马踏飞燕Beautiful
阅读(878)
评论(0)
推荐(0)


浙公网安备 33010602011771号