This seems so simple, but I just can't figure it out. I want to simply join 2 tables together. I don't care which values are paired with which. Using TSQL, here is an example:
declare @tbl1 table(id int)
declare @tbl2 table(id int)
insert @tbl1 values(1)
insert @tbl1 values(2)
insert @tbl2 values(3)
insert @tbl2 values(4)
insert @tbl2 values(5)
select * from @tbl1, @tbl2
This returns 6 rows, but what kind of query will generate this (just slap the tables side-by-side):
1 3
2 4
null 5