IBM interview question

Coding test including python and sql