Pregunta de entrevista de Beaconfire

basic sql question and python question