Pregunta de entrevista de Macy's

few SQL and 2 python questions difficulty level 2