Pregunta de entrevista de Point72

SQL and Python-related coding question