I have two tables, A with informtions about people and where they live, B informations about cities. Several people can live in the same city. How can I add columns in A with the informations in B (city name, country) based on the Citycode without a loop?
A = table('Name','First','Citycode')B = table('Citycode','CityName','Country')A = ['Smith' 'John' '1001'; 'Taylor' 'James' '1004'; 'Thatcher' 'Mary' '1001']B = ['1001' 'New York' 'USA'; '1002' 'London' 'UK'; '1004' 'Madrid' 'Spain']
Best Answer