sql server union与unionALL区别

两种用法 同样, 查询字段类型须要一致spa

union 会自动去重code

union all  不会去重blog

 

select  name ,age from student

union

select  name ,age from student2

相关文章
相关标签/搜索