Pergunta de entrevista da empresa IBM

SQL Question and Coding question