Amazon Interview Question

Simple SQL question on how to join 2 table