Amazon Interview Question

Join two SQL tables