Crédit Agricole interview question

Python code ... SQL commands.