Fidelity Investments Interview Question

How to join two sql tables Oop Java question