I have two identical tables with the same number of rows but with different data
Table 1:
Name
---
A
B
C
Table 2:
Name
---
D
E
F
I need to join it like in one table.
Name1 Name2
---- -----
A D
B E
C F
Anyone have any idea?
If there is no direct join then you could “manufacture” one.
i.e. given your example data:
EDIT: After Benoit’s correct assertion I have added an ORDER BY (though you can order it by whatever criteria you need).