我有桌子
表格1
col1 col2
a b
c d
Run Code Online (Sandbox Code Playgroud)
和table2
mycol1 mycol2
e f
g h
i j
k l
Run Code Online (Sandbox Code Playgroud)
我想将两个没有共同字段的表组合成一个表,如下所示:
表3
col1 col2 mycol1 mycol2
a b e f
c d g h
null null i j
null null k l
Run Code Online (Sandbox Code Playgroud)
也就是说,就像把两张桌子并排放在一起.
我被卡住了!请帮忙!
sql ×1