Pregunta de entrevista de Santander

write sql query, find mistake in query python functions ml concepts