两种用法 同样, 查询字段类型须要一致spa
union 会自动去重code
union all 不会去重blog
select name ,age from student union select name ,age from student2