Capgemini Interview Question

mysql joins and array codes 2 codes and one string code