Amazon Interview Question

different between joints in sql