TEKsystems interview question

One question in SQL, one question in Python