Pergunta de entrevista da empresa StoneX

Mostly SQL queries and basic python functions question