S&P Global Interview Question

How to join two different tables.