Pregunta de entrevista de Morgan Stanley

basic sql and few python questions.