I have two tables.
Table:
ID NAMEA01 JohnA02 PeterB01 MartaThen I have a second table (note that this table purposely has more entries).
ID SURNAMEA02 SmithB01 ClevensA03 RogersA01 BrownBoth tables represent the same people with Names and Surnames, identified by ID. How I can join the data into one table and align the people correctly?
Desired results
ID NAME SURNAMEA01 John BrownA02 Peter SmithA03 RogersB01 Marta Clevens