34,837
社区成员




select a [ ] from t1
union all
select b [ ] from t2
create table #t1(id int)
create table #t2(id int)
insert into #t1 values(1)
insert into #t1 values(2)
insert into #t2 values(3)
insert into #t2 values(4)
select id from #t1
union all
select id from #t2
id
-----------
1
2
3
4
select t1.a from t1
union all
select t2.b from t2