Interos interview question

Coding challenge was a easy/intermediate questions with SQL and Python.