Bunge Limited interview question

python and sql questions, and two quite long coding exercises.